hass-core/homeassistant/components/tasmota/const.py
2020-10-23 01:22:51 +02:00

17 lines
319 B
Python

"""Constants used by multiple Tasmota modules."""
CONF_DISCOVERY_PREFIX = "discovery_prefix"
DATA_REMOVE_DISCOVER_COMPONENT = "tasmota_discover_{}"
DEFAULT_PREFIX = "tasmota/discovery"
DOMAIN = "tasmota"
PLATFORMS = [
"binary_sensor",
"light",
"sensor",
"switch",
]
TASMOTA_EVENT = "tasmota_event"