diff --git a/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/InsteonBindingConstants.java b/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/InsteonBindingConstants.java index 7394194e79a..f3940ad17fc 100644 --- a/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/InsteonBindingConstants.java +++ b/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/InsteonBindingConstants.java @@ -78,7 +78,7 @@ public class InsteonBindingConstants { public static final String FEATURE_ON_LEVEL = "onLevel"; public static final String FEATURE_PING = "ping"; public static final String FEATURE_RAMP_RATE = "rampRate"; - public static final String FEATURE_SCENE_ON_OFF = "sceneOnOff"; + public static final String FEATURE_SCENE = "scene"; public static final String FEATURE_STAY_AWAKE = "stayAwake"; public static final String FEATURE_TEMPERATURE_SCALE = "temperatureScale"; public static final String FEATURE_TWO_GROUPS = "2Groups"; diff --git a/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/handler/InsteonSceneHandler.java b/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/handler/InsteonSceneHandler.java index 82a9cb8f3aa..5e5640be022 100644 --- a/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/handler/InsteonSceneHandler.java +++ b/bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/handler/InsteonSceneHandler.java @@ -184,7 +184,7 @@ public class InsteonSceneHandler extends InsteonBaseThingHandler { public void updateState(State state) { getThing().getChannels().stream().map(Channel::getUID) - .filter(channelUID -> FEATURE_SCENE_ON_OFF.equals(channelUID.getId())).findFirst() + .filter(channelUID -> FEATURE_SCENE.equals(channelUID.getId())).findFirst() .ifPresent(channelUID -> updateState(channelUID, state)); } }