Class: OpenHAB::Core::Events::ThingStatusInfoChangedEvent

Inherits:
AbstractEvent
  • Object
show all
Defined in:
lib/openhab/core/events/thing_status_info_event.rb

Overview

The AbstractEvent sent when a Thing’s status has changed.

Instance Attribute Summary collapse

Attributes inherited from AbstractEvent

#attachment, #inputs

Method Summary

Methods inherited from AbstractEvent

#payload

Instance Attribute Details

#thingThings::Thing (readonly)

Returns The thing that triggered this event.

Returns:



27
28
29
# File 'lib/openhab/core/events/thing_status_info_event.rb', line 27

def thing
  EntityLookup.lookup_thing(uid)
end