diff --git a/bundles/automation/org.eclipse.smarthome.automation.module.core/src/main/java/org/eclipse/smarthome/automation/module/core/handler/ItemStateTriggerHandler.java b/bundles/automation/org.eclipse.smarthome.automation.module.core/src/main/java/org/eclipse/smarthome/automation/module/core/handler/ItemStateTriggerHandler.java index 08d889f35c6..c63ee523796 100644 --- a/bundles/automation/org.eclipse.smarthome.automation.module.core/src/main/java/org/eclipse/smarthome/automation/module/core/handler/ItemStateTriggerHandler.java +++ b/bundles/automation/org.eclipse.smarthome.automation.module.core/src/main/java/org/eclipse/smarthome/automation/module/core/handler/ItemStateTriggerHandler.java @@ -144,7 +144,7 @@ public void dispose() { @Override public boolean apply(Event event) { logger.trace("->FILTER: {}:{}", event.getTopic(), itemName); - return event.getTopic().contains("/" + itemName + "/"); + return event.getTopic().contains("smarthome/items/" + itemName + "/"); } }