Skip to content

Commit

Permalink
Adapted code to latest stable ESH release
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Kreuzer <[email protected]> (github: @kaikreuzer)
  • Loading branch information
kaikreuzer committed Mar 19, 2015
1 parent b3463ea commit 8fce0f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1841,4 +1841,10 @@ public String getCurrentURIFormatted() {
return stateMap.get("CurrentURIFormatted");
}

@Override
public void onStatusChanged(boolean status) {
// TODO Auto-generated method stub

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ public void processBindingConfiguration(String context, String itemType, String

}

@Override
public void removeConfigurations(String context) {
reader.removeConfigurations(context);

}

private org.openhab.core.items.Item getOpenHABItem(String itemType) throws BindingConfigParseException {
return getOpenHABItem(itemType, "itemName");
}
Expand All @@ -81,4 +75,13 @@ private org.openhab.core.items.Item getOpenHABItem(String itemType,
throw new BindingConfigParseException("cannot process unknown item type " + itemType);
}

@Override
public void startConfigurationUpdate(String context) {
reader.removeConfigurations(context);
}

@Override
public void stopConfigurationUpdate(String context) {
}

}

0 comments on commit 8fce0f9

Please sign in to comment.