"""Constants for the Tuya integration."""

CONF_COUNTRYCODE = "country_code"
CONF_DEVICE_NAME = "device_name"
CONF_DISCOVERY_INTERVAL = "discovery_interval"
CONF_TEMP_DIVIDER = "temp_divider"
CONF_CURR_TEMP_DIVIDER = "curr_temp_divider"
CONF_EXT_TEMP_SENSOR = "ext_temp_sensor"
CONF_SUPPORT_COLOR = "support_color"
CONF_BRIGHTNESS_RANGE_MODE = "brightness_range_mode"
CONF_MIN_KELVIN = "min_kelvin"
CONF_MAX_KELVIN = "max_kelvin"
CONF_MAX_TUYA_TEMP = "max_tuya_temp"

DEFAULT_DISCOVERY_INTERVAL = 305.0

DOMAIN = "tuya_custom"

TUYA_DATA = "tuya_data"
TUYA_DEVICES_CONF = "devices_config"
TUYA_DISCOVERY_NEW = "tuya_discovery_new_{}"

TUYA_PLATFORMS = {
    "tuya": "Tuya",
    "smart_life": "Smart Life",
    "jinvoo_smart": "Jinvoo Smart",
}
