Skip to content

Commit

Permalink
adapted to changed ESH API (#218)
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Kreuzer <kai@openhab.org>
  • Loading branch information
kaikreuzer committed Oct 10, 2017
1 parent d5841d3 commit fcfdfbf
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -8,6 +8,7 @@
*/
package org.openhab.core.binding.internal;

import org.eclipse.smarthome.config.core.Configuration;
import org.eclipse.smarthome.model.item.BindingConfigParseException;
import org.eclipse.smarthome.model.item.BindingConfigReader;

Expand Down Expand Up @@ -42,8 +43,8 @@ public void validateItemType(String itemType, String bindingConfig) throws Bindi
}

@Override
public void processBindingConfiguration(String context, String itemType, String itemName, String bindingConfig)
throws BindingConfigParseException {
public void processBindingConfiguration(String context, String itemType, String itemName, String bindingConfig,
Configuration configuration) throws BindingConfigParseException {
try {
reader.processBindingConfiguration(context, getOpenHABItem(itemType, itemName), bindingConfig);
} catch (org.openhab.model.item.binding.BindingConfigParseException e) {
Expand Down

0 comments on commit fcfdfbf

Please sign in to comment.