Support reloading Tasmota config entries (#42097)

This commit is contained in:
Erik Montnemery 2020-10-23 01:22:51 +02:00 committed by GitHub
parent 3661035397
commit de35d58fd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 179 additions and 75 deletions

View file

@ -1,8 +1,17 @@
"""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"