Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Changed ItemStateTriggerHandler to properly filter relevant topics (#…
Browse files Browse the repository at this point in the history
…6348)

Resolves #6317

Signed-off-by: Scott Rushworth <openhab@5iver.com>
  • Loading branch information
Scott Rushworth authored and htreu committed Oct 15, 2018
1 parent 55a7cf2 commit 843a626
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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 + "/");
}

}

0 comments on commit 843a626

Please sign in to comment.