Class: OpenHAB::Core::Events::ThingStatusInfoEvent
- Inherits:
-
AbstractEvent
- Object
- AbstractEvent
- OpenHAB::Core::Events::ThingStatusInfoEvent
- 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
-
#thing ⇒ Things::Thing
readonly
The thing that triggered this event.
Attributes inherited from AbstractEvent
Instance Method Summary collapse
Methods inherited from AbstractEvent
Instance Attribute Details
#thing ⇒ Things::Thing (readonly)
Returns The thing that triggered this event.
57 58 59 |
# File 'lib/openhab/core/events/thing_status_info_event.rb', line 57 def thing EntityLookup.lookup_thing(uid) end |
Instance Method Details
#inspect ⇒ String
62 63 64 65 66 67 |
# File 'lib/openhab/core/events/thing_status_info_event.rb', line 62 def inspect s = "#<OpenHAB::Core::Events::ThingStatusInfoEvent thing=#{uid} " \ "status=#{status.inspect}" s += " source=#{source.inspect}" if source "#{s}>" end |