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

Functions

tuple[str|None, str|None] _get_device_event_description (str modelid, int event)
 
None async_describe_events (HomeAssistant hass, Callable[[str, str, Callable[[Event], dict[str, str]]], None] async_describe_event)
 

Variables

dictionary ACTIONS
 
dictionary INTERFACES
 

Detailed Description

Describe deCONZ logbook events.

Function Documentation

◆ _get_device_event_description()

tuple[str | None, str | None] homeassistant.components.deconz.logbook._get_device_event_description ( str  modelid,
int   event 
)
private
Get device event description.

Definition at line 116 of file logbook.py.

◆ async_describe_events()

None homeassistant.components.deconz.logbook.async_describe_events ( HomeAssistant  hass,
Callable[[str, str, Callable[[Event], dict[str, str]]], None]  async_describe_event 
)
Describe logbook events.

Definition at line 132 of file logbook.py.

Variable Documentation

◆ ACTIONS

dictionary homeassistant.components.deconz.logbook.ACTIONS
Initial value:
1 = {
2  CONF_SHORT_PRESS: "Short press",
3  CONF_SHORT_RELEASE: "Short release",
4  CONF_LONG_PRESS: "Long press",
5  CONF_LONG_RELEASE: "Long release",
6  CONF_DOUBLE_PRESS: "Double press",
7  CONF_TRIPLE_PRESS: "Triple press",
8  CONF_QUADRUPLE_PRESS: "Quadruple press",
9  CONF_QUINTUPLE_PRESS: "Quintuple press",
10  CONF_ROTATED: "Rotated",
11  CONF_ROTATED_FAST: "Rotated fast",
12  CONF_ROTATION_STOPPED: "Rotated stopped",
13  CONF_MOVE: "Move",
14  CONF_DOUBLE_TAP: "Double tap",
15  CONF_SHAKE: "Shake",
16  CONF_ROTATE_FROM_SIDE_1: "Rotate from side 1",
17  CONF_ROTATE_FROM_SIDE_2: "Rotate from side 2",
18  CONF_ROTATE_FROM_SIDE_3: "Rotate from side 3",
19  CONF_ROTATE_FROM_SIDE_4: "Rotate from side 4",
20  CONF_ROTATE_FROM_SIDE_5: "Rotate from side 5",
21  CONF_ROTATE_FROM_SIDE_6: "Rotate from side 6",
22 }

Definition at line 64 of file logbook.py.

◆ INTERFACES

dictionary homeassistant.components.deconz.logbook.INTERFACES
Initial value:
1 = {
2  CONF_TURN_ON: "Turn on",
3  CONF_TURN_OFF: "Turn off",
4  CONF_DIM_UP: "Dim up",
5  CONF_DIM_DOWN: "Dim down",
6  CONF_LEFT: "Left",
7  CONF_RIGHT: "Right",
8  CONF_OPEN: "Open",
9  CONF_CLOSE: "Close",
10  CONF_BOTH_BUTTONS: "Both buttons",
11  CONF_TOP_BUTTONS: "Top buttons",
12  CONF_BOTTOM_BUTTONS: "Bottom buttons",
13  CONF_BUTTON_1: "Button 1",
14  CONF_BUTTON_2: "Button 2",
15  CONF_BUTTON_3: "Button 3",
16  CONF_BUTTON_4: "Button 4",
17  CONF_BUTTON_5: "Button 5",
18  CONF_BUTTON_6: "Button 6",
19  CONF_BUTTON_7: "Button 7",
20  CONF_BUTTON_8: "Button 8",
21  CONF_SIDE_1: "Side 1",
22  CONF_SIDE_2: "Side 2",
23  CONF_SIDE_3: "Side 3",
24  CONF_SIDE_4: "Side 4",
25  CONF_SIDE_5: "Side 5",
26  CONF_SIDE_6: "Side 6",
27 }

Definition at line 87 of file logbook.py.