Add generic sensor platform

This commit is contained in:
Pierre Ståhl
2020-09-19 18:41:57 +02:00
parent 5507652bae
commit 26d83774e2
3 changed files with 195 additions and 3 deletions

View File

@@ -19,7 +19,10 @@ CONF_OPEN_CMD = 'open_cmd'
CONF_CLOSE_CMD = 'close_cmd'
CONF_STOP_CMD = 'stop_cmd'
# sensor
CONF_SCALING = "scaling"
DOMAIN = "localtuya"
# Platforms in this list must support config flows
PLATFORMS = ["cover", "fan", "light", "switch"]
PLATFORMS = ["cover", "fan", "light", "sensor", "switch"]