mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
[automation] Fixed topic (#922)
- Fixed topic for `ThingStatusTriggerHandler`. Is is called "things", not "thing". Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
committed by
Kai Kreuzer
parent
522af08531
commit
4b7eddf16e
+1
-1
@@ -144,7 +144,7 @@ public class ThingStatusTriggerHandler extends BaseTriggerModuleHandler implemen
|
||||
@Override
|
||||
public boolean apply(Event event) {
|
||||
logger.trace("->FILTER: {}: {}", event.getTopic(), thingUID);
|
||||
return event.getTopic().contains("smarthome/thing/" + thingUID + "/");
|
||||
return event.getTopic().contains("smarthome/things/" + thingUID + "/");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user