2018-04-18 16:27:44 +02:00
|
|
|
"""Constants for the deCONZ component."""
|
|
|
|
import logging
|
|
|
|
|
|
|
|
_LOGGER = logging.getLogger('homeassistant.components.deconz')
|
|
|
|
|
|
|
|
DOMAIN = 'deconz'
|
|
|
|
CONFIG_FILE = 'deconz.conf'
|
2018-04-29 16:16:20 +02:00
|
|
|
DATA_DECONZ_EVENT = 'deconz_events'
|
2018-04-18 16:27:44 +02:00
|
|
|
DATA_DECONZ_ID = 'deconz_entities'
|
2018-05-05 16:11:00 +02:00
|
|
|
DATA_DECONZ_UNSUB = 'deconz_dispatchers'
|
2018-05-29 16:09:53 +02:00
|
|
|
|
|
|
|
CONF_ALLOW_CLIP_SENSOR = 'allow_clip_sensor'
|
2018-06-15 20:31:22 +02:00
|
|
|
CONF_ALLOW_DECONZ_GROUPS = 'allow_deconz_groups'
|
2018-07-02 23:14:38 +02:00
|
|
|
|
|
|
|
ATTR_DARK = 'dark'
|
|
|
|
ATTR_ON = 'on'
|
2018-08-01 11:03:08 +02:00
|
|
|
|
2018-08-10 19:22:12 +02:00
|
|
|
POWER_PLUGS = ["On/Off plug-in unit", "Smart plug"]
|
|
|
|
SIRENS = ["Warning device"]
|
|
|
|
SWITCH_TYPES = POWER_PLUGS + SIRENS
|