Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.deconz.deconz_event Namespace Reference

Classes

class  DeconzAlarmEvent
 
class  DeconzEvent
 
class  DeconzEventBase
 
class  DeconzPresenceEvent
 
class  DeconzRelativeRotaryEvent
 

Functions

None async_setup_events (DeconzHub hub)
 
None async_unload_events (DeconzHub hub)
 

Variables

string CONF_DECONZ_ALARM_EVENT = "deconz_alarm_event"
 
string CONF_DECONZ_EVENT = "deconz_event"
 
string CONF_DECONZ_PRESENCE_EVENT = "deconz_presence_event"
 
string CONF_DECONZ_RELATIVE_ROTARY_EVENT = "deconz_relative_rotary_event"
 
dictionary RELATIVE_ROTARY_DECONZ_TO_EVENT
 
dictionary SUPPORTED_DECONZ_ALARM_EVENTS
 
dictionary SUPPORTED_DECONZ_PRESENCE_EVENTS
 

Detailed Description

Representation of a deCONZ remote or keypad.

Function Documentation

◆ async_setup_events()

None homeassistant.components.deconz.deconz_event.async_setup_events ( DeconzHub  hub)
Set up the deCONZ events.

Definition at line 58 of file deconz_event.py.

◆ async_unload_events()

None homeassistant.components.deconz.deconz_event.async_unload_events ( DeconzHub  hub)
Unload all deCONZ events.

Definition at line 108 of file deconz_event.py.

Variable Documentation

◆ CONF_DECONZ_ALARM_EVENT

string homeassistant.components.deconz.deconz_event.CONF_DECONZ_ALARM_EVENT = "deconz_alarm_event"

Definition at line 32 of file deconz_event.py.

◆ CONF_DECONZ_EVENT

string homeassistant.components.deconz.deconz_event.CONF_DECONZ_EVENT = "deconz_event"

Definition at line 31 of file deconz_event.py.

◆ CONF_DECONZ_PRESENCE_EVENT

string homeassistant.components.deconz.deconz_event.CONF_DECONZ_PRESENCE_EVENT = "deconz_presence_event"

Definition at line 33 of file deconz_event.py.

◆ CONF_DECONZ_RELATIVE_ROTARY_EVENT

string homeassistant.components.deconz.deconz_event.CONF_DECONZ_RELATIVE_ROTARY_EVENT = "deconz_relative_rotary_event"

Definition at line 34 of file deconz_event.py.

◆ RELATIVE_ROTARY_DECONZ_TO_EVENT

dictionary homeassistant.components.deconz.deconz_event.RELATIVE_ROTARY_DECONZ_TO_EVENT
Initial value:
1 = {
2  RelativeRotaryEvent.NEW: "new",
3  RelativeRotaryEvent.REPEAT: "repeat",
4 }

Definition at line 52 of file deconz_event.py.

◆ SUPPORTED_DECONZ_ALARM_EVENTS

dictionary homeassistant.components.deconz.deconz_event.SUPPORTED_DECONZ_ALARM_EVENTS
Initial value:
1 = {
2  AncillaryControlAction.EMERGENCY,
3  AncillaryControlAction.FIRE,
4  AncillaryControlAction.INVALID_CODE,
5  AncillaryControlAction.PANIC,
6 }

Definition at line 36 of file deconz_event.py.

◆ SUPPORTED_DECONZ_PRESENCE_EVENTS

dictionary homeassistant.components.deconz.deconz_event.SUPPORTED_DECONZ_PRESENCE_EVENTS
Initial value:
1 = {
2  PresenceStatePresenceEvent.ENTER,
3  PresenceStatePresenceEvent.LEAVE,
4  PresenceStatePresenceEvent.ENTER_LEFT,
5  PresenceStatePresenceEvent.RIGHT_LEAVE,
6  PresenceStatePresenceEvent.ENTER_RIGHT,
7  PresenceStatePresenceEvent.LEFT_LEAVE,
8  PresenceStatePresenceEvent.APPROACHING,
9  PresenceStatePresenceEvent.ABSENTING,
10 }

Definition at line 42 of file deconz_event.py.