Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.deconz.deconz_event.DeconzEvent Class Reference
Inheritance diagram for homeassistant.components.deconz.deconz_event.DeconzEvent:
[legend]
Collaboration diagram for homeassistant.components.deconz.deconz_event.DeconzEvent:
[legend]

Public Member Functions

None async_update_callback (self)
 
- Public Member Functions inherited from homeassistant.components.deconz.deconz_event.DeconzEventBase
None __init__ (self, AncillaryControl|Presence|RelativeRotary|Switch device, DeconzHub hub)
 
None async_update_device_registry (self)
 
None async_will_remove_from_hass (self)
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.deconz.deconz_event.DeconzEventBase
 device
 
 device_id
 
 event_id
 

Detailed Description

When you want signals instead of entities.

Stateless sensors such as remotes are expected to generate an event
instead of a sensor entity in hass.

Definition at line 161 of file deconz_event.py.

Member Function Documentation

◆ async_update_callback()

None homeassistant.components.deconz.deconz_event.DeconzEvent.async_update_callback (   self)
Fire the event if reason is that state is updated.

Reimplemented from homeassistant.components.deconz.deconz_event.DeconzEventBase.

Definition at line 171 of file deconz_event.py.


The documentation for this class was generated from the following file: