Class: OpenHAB::Core::Events::ThingStatusInfoChangedEvent
- Inherits:
- 
      AbstractEvent
      
        - Object
- AbstractEvent
- OpenHAB::Core::Events::ThingStatusInfoChangedEvent
 
- 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
- 
  
    
      #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. 
- 
  
    
      #was  ⇒ org.openhab.core.thing.ThingStatusInfo 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    The thing's prior status. 
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.
| 21 | # File 'lib/openhab/core/events/thing_status_info_event.rb', line 21 alias_method :status, :status_info | 
#thing ⇒ Things::Thing (readonly)
Returns The thing that triggered this event.
| 27 28 29 | # File 'lib/openhab/core/events/thing_status_info_event.rb', line 27 def thing EntityLookup.lookup_thing(uid) end | 
#uid ⇒ Things::ThingUID (readonly)
Returns The UID of the Thing that triggered this event.
| 15 | # File 'lib/openhab/core/events/thing_status_info_event.rb', line 15 alias_method :uid, :get_thing_uid | 
#was ⇒ org.openhab.core.thing.ThingStatusInfo (readonly)
Returns The thing's prior status.
| 18 | # File 'lib/openhab/core/events/thing_status_info_event.rb', line 18 alias_method :was, :get_old_status_info | 
 
          