Erik Montnemery 314497d013
Add Tasmota fan (#43353)
* Add Tasmota fan

* Bump hatasmota to 0.1.0

* Apply suggestions from code review
2020-11-25 17:40:32 +01:00

20 lines
367 B
Python

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