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
-
#status ⇒ org.openhab.core.thing.ThingStatusInfo
readonly
The thing's status.
-
#thing ⇒ Things::Thing
readonly
The thing that triggered this event.
-
#uid ⇒ Things::ThingUID
readonly
The UID of the Thing that triggered this event.
Attributes inherited from AbstractEvent
Method Summary
Methods inherited from AbstractEvent
Instance Attribute Details
#status ⇒ org.openhab.core.thing.ThingStatusInfo (readonly)
Returns The thing's status.
43 |
# File 'lib/openhab/core/events/thing_status_info_event.rb', line 43 alias_method :status, :status_info |
#thing ⇒ Things::Thing (readonly)
Returns The thing that triggered this event.
49 50 51 |
# File 'lib/openhab/core/events/thing_status_info_event.rb', line 49 def thing EntityLookup.lookup_thing(uid) end |
#uid ⇒ Things::ThingUID (readonly)
Returns The UID of the Thing that triggered this event.
38 |
# File 'lib/openhab/core/events/thing_status_info_event.rb', line 38 alias_method :uid, :get_thing_uid |