hass-core/homeassistant/components/twinkly/const.py
epenet a29990a784
Use new CONF_MODEL core constant (1/3) ()
* Use CONF_MODEL in axis

* Use CONF_MODEL in denonavr

* Use CONF_MODEL in flux_led

* Use CONF_MODEL in konnected

* Use CONF_MODEL in steamist

* Use CONF_MODEL in tellstick

* Use CONF_MODEL in tensorflow

* Use CONF_MODEL in twinkly

* Use CONF_MODEL in yeelight

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 11:11:58 +02:00

29 lines
690 B
Python

"""Const for Twinkly."""
DOMAIN = "twinkly"
# Keys of the config entry
CONF_ID = "id"
CONF_HOST = "host"
CONF_NAME = "name"
# Strongly named HA attributes keys
ATTR_HOST = "host"
# Keys of attributes read from the get_device_info
DEV_ID = "uuid"
DEV_NAME = "device_name"
DEV_MODEL = "product_code"
DEV_LED_PROFILE = "led_profile"
DEV_PROFILE_RGB = "RGB"
DEV_PROFILE_RGBW = "RGBW"
DATA_CLIENT = "client"
DATA_DEVICE_INFO = "device_info"
HIDDEN_DEV_VALUES = (
"code", # This is the internal status code of the API response
"copyright", # We should not display a copyright "LEDWORKS 2018" in the Home-Assistant UI
"mac", # Does not report the actual device mac address
)