- Platform information:
- openHAB version: 4.0.4
When the state of an item group changes
I can get the triggering item name and state, e.g.
console.debug(event.itemName + " has changed to " + event.itemState);
If the Script is triggered by a thing status change, how do I get the triggering thing name?
event.thingName gives me undefined