* Added Tuya config flow * Added test config_flow * Fixed log error message * Add test requirements * Lint Fix * Fix Black formatting * Added pylint directive Added pylint:disable=unused-import in config_flow.py * Implementation requested changes * Update CodeOwners * Removed device registry cleanup * Force checks * Force checks * Fix implemetation - Set config schema "deprecated" - Removed async from update_callback * Updating test * Fix formatting * Config Flow test fix - mock out async_setup and async_setup_entry * Fix formatting
14 lines
274 B
Python
14 lines
274 B
Python
"""Constants for the Tuya integration."""
|
|
|
|
CONF_COUNTRYCODE = "country_code"
|
|
|
|
DOMAIN = "tuya"
|
|
|
|
TUYA_DATA = "tuya_data"
|
|
TUYA_DISCOVERY_NEW = "tuya_discovery_new_{}"
|
|
|
|
TUYA_PLATFORMS = {
|
|
"tuya": "Tuya",
|
|
"smart_life": "Smart Life",
|
|
"jinvoo_smart": "Jinvoo Smart",
|
|
}
|