Class: OpenHAB::Core::Events::ThingStatusInfoEvent

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

Overview

The AbstractEvent sent when a Things::Thing‘s status is set.

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:



49
50
51
# File 'lib/openhab/core/events/thing_status_info_event.rb', line 49

def thing
  EntityLookup.lookup_thing(uid)
end