Add config flow support for cover
This commit is contained in:
@@ -6,11 +6,18 @@ ATTR_VOLTAGE = 'voltage'
|
||||
|
||||
CONF_LOCAL_KEY = "local_key"
|
||||
CONF_PROTOCOL_VERSION = "protocol_version"
|
||||
|
||||
# switch
|
||||
CONF_CURRENT = "current"
|
||||
CONF_CURRENT_CONSUMPTION = "current_consumption"
|
||||
CONF_VOLTAGE = "voltage"
|
||||
|
||||
# cover
|
||||
CONF_OPEN_CMD = 'open_cmd'
|
||||
CONF_CLOSE_CMD = 'close_cmd'
|
||||
CONF_STOP_CMD = 'stop_cmd'
|
||||
|
||||
DOMAIN = "localtuya"
|
||||
|
||||
# Platforms in this list must support config flows
|
||||
PLATFORMS = ["light", "switch"]
|
||||
PLATFORMS = ["cover", "light", "switch"]
|
||||
|
Reference in New Issue
Block a user