* Initial commit for deCONZ switch support * Fix hound comment * Fix martins comment; platforms shouldn't depend on another platform * Fix existing tests * New tests * Clean up unnecessary methods * Bump requirement to v43 * Added device state attributes to light
18 lines
464 B
Python
18 lines
464 B
Python
"""Constants for the deCONZ component."""
|
|
import logging
|
|
|
|
_LOGGER = logging.getLogger('homeassistant.components.deconz')
|
|
|
|
DOMAIN = 'deconz'
|
|
CONFIG_FILE = 'deconz.conf'
|
|
DATA_DECONZ_EVENT = 'deconz_events'
|
|
DATA_DECONZ_ID = 'deconz_entities'
|
|
DATA_DECONZ_UNSUB = 'deconz_dispatchers'
|
|
|
|
CONF_ALLOW_CLIP_SENSOR = 'allow_clip_sensor'
|
|
CONF_ALLOW_DECONZ_GROUPS = 'allow_deconz_groups'
|
|
|
|
ATTR_DARK = 'dark'
|
|
ATTR_ON = 'on'
|
|
|
|
SWITCH_TYPES = ["On/Off plug-in unit", "Smart plug"]
|