adapted to changed ESH API (#218)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer 2017-10-10 07:44:12 -07:00 committed by GitHub
parent d5841d354c
commit fcfdfbfbe7

View File

@ -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;
@ -42,8 +43,8 @@ public class BindingConfigReaderDelegate implements BindingConfigReader {
}
@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) {