mirror of
https://github.com/home-assistant/core.git
synced 2025-05-08 07:59:18 +00:00

* add CONF_STATE_CLASS to const.py * move to `sensor/__init__.py` * move to sensor/const.py * Revert "move to sensor/const.py" This reverts commit 604d0d066bfcb93f1a11e3d7732d430ab6de8d59. * move it to `sensor/const.py` but import it from `sensor/__init__.py` * add Modbus
30 lines
568 B
Python
30 lines
568 B
Python
"""Constants for the Template Platform Components."""
|
|
|
|
CONF_AVAILABILITY_TEMPLATE = "availability_template"
|
|
CONF_ATTRIBUTE_TEMPLATES = "attribute_templates"
|
|
CONF_TRIGGER = "trigger"
|
|
|
|
DOMAIN = "template"
|
|
|
|
PLATFORM_STORAGE_KEY = "template_platforms"
|
|
|
|
PLATFORMS = [
|
|
"alarm_control_panel",
|
|
"binary_sensor",
|
|
"cover",
|
|
"fan",
|
|
"light",
|
|
"lock",
|
|
"number",
|
|
"select",
|
|
"sensor",
|
|
"switch",
|
|
"vacuum",
|
|
"weather",
|
|
]
|
|
|
|
CONF_AVAILABILITY = "availability"
|
|
CONF_ATTRIBUTES = "attributes"
|
|
CONF_PICTURE = "picture"
|
|
CONF_OBJECT_ID = "object_id"
|