Add support for config flows for switches
This commit is contained in:
12
custom_components/localtuya/const.py
Normal file
12
custom_components/localtuya/const.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Constants for localtuya integration."""
|
||||
|
||||
CONF_DEVICE_TYPE = "device_type"
|
||||
CONF_LOCAL_KEY = "local_key"
|
||||
CONF_PROTOCOL_VERSION = "protocol_version"
|
||||
CONF_CURRENT = "current"
|
||||
CONF_CURRENT_CONSUMPTION = "current_consumption"
|
||||
CONF_VOLTAGE = "voltage"
|
||||
|
||||
DOMAIN = "localtuya"
|
||||
|
||||
DEVICE_TYPE_POWER_OUTLET = "Power Outlet"
|
Reference in New Issue
Block a user