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