"""Constants for localtuya integration.""" ATTR_CURRENT = 'current' ATTR_CURRENT_CONSUMPTION = 'current_consumption' ATTR_VOLTAGE = 'voltage' CONF_LOCAL_KEY = "local_key" CONF_PROTOCOL_VERSION = "protocol_version" CONF_CURRENT = "current" CONF_CURRENT_CONSUMPTION = "current_consumption" CONF_VOLTAGE = "voltage" DOMAIN = "localtuya" # Platforms in this list must support config flows PLATFORMS = ["switch"]