[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:
Christoph Weitkamp
2019-07-12 21:01:42 +02:00
committed by Kai Kreuzer
parent 522af08531
commit 4b7eddf16e
@@ -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 + "/");
}
}