Offline as a State or a Channel, or both?

This is not available using the rules DSL, but it has been available in the new rule engine for a few years. With the Jython helper libraries, you’d use event.thingUID to get the triggering Thing UID… Event Object Attributes — openHAB Helper Libraries documentation.

1 Like