Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tuya.const Namespace Reference

Variables

string CONF_APP_TYPE = "tuya_app_type"
 
string CONF_ENDPOINT = "endpoint"
 
string CONF_TERMINAL_ID = "terminal_id"
 
string CONF_TOKEN_INFO = "token_info"
 
string CONF_USER_CODE = "user_code"
 
string CONF_USERNAME = "username"
 
string DOMAIN = "tuya"
 
 LOGGER = logging.getLogger(__package__)
 
list PLATFORMS
 
string TUYA_CLIENT_ID = "HA_3y9q4ak7g4ephrvke"
 
string TUYA_DISCOVERY_NEW = "tuya_discovery_new"
 
string TUYA_HA_SIGNAL_UPDATE_ENTITY = "tuya_entry_update"
 
string TUYA_RESPONSE_CODE = "code"
 
string TUYA_RESPONSE_MSG = "msg"
 
string TUYA_RESPONSE_QR_CODE = "qrcode"
 
string TUYA_RESPONSE_RESULT = "result"
 
string TUYA_RESPONSE_SUCCESS = "success"
 
string TUYA_SCHEMA = "haauthorize"
 
tuple UNITS
 

Detailed Description

Constants for the Tuya integration.

Variable Documentation

◆ CONF_APP_TYPE

string homeassistant.components.tuya.const.CONF_APP_TYPE = "tuya_app_type"

Definition at line 33 of file const.py.

◆ CONF_ENDPOINT

string homeassistant.components.tuya.const.CONF_ENDPOINT = "endpoint"

Definition at line 34 of file const.py.

◆ CONF_TERMINAL_ID

string homeassistant.components.tuya.const.CONF_TERMINAL_ID = "terminal_id"

Definition at line 35 of file const.py.

◆ CONF_TOKEN_INFO

string homeassistant.components.tuya.const.CONF_TOKEN_INFO = "token_info"

Definition at line 36 of file const.py.

◆ CONF_USER_CODE

string homeassistant.components.tuya.const.CONF_USER_CODE = "user_code"

Definition at line 37 of file const.py.

◆ CONF_USERNAME

string homeassistant.components.tuya.const.CONF_USERNAME = "username"

Definition at line 38 of file const.py.

◆ DOMAIN

string homeassistant.components.tuya.const.DOMAIN = "tuya"

Definition at line 30 of file const.py.

◆ LOGGER

homeassistant.components.tuya.const.LOGGER = logging.getLogger(__package__)

Definition at line 31 of file const.py.

◆ PLATFORMS

list homeassistant.components.tuya.const.PLATFORMS
Initial value:
1 = [
2  Platform.ALARM_CONTROL_PANEL,
3  Platform.BINARY_SENSOR,
4  Platform.BUTTON,
5  Platform.CAMERA,
6  Platform.CLIMATE,
7  Platform.COVER,
8  Platform.FAN,
9  Platform.HUMIDIFIER,
10  Platform.LIGHT,
11  Platform.NUMBER,
12  Platform.SCENE,
13  Platform.SELECT,
14  Platform.SENSOR,
15  Platform.SIREN,
16  Platform.SWITCH,
17  Platform.VACUUM,
18 ]

Definition at line 52 of file const.py.

◆ TUYA_CLIENT_ID

string homeassistant.components.tuya.const.TUYA_CLIENT_ID = "HA_3y9q4ak7g4ephrvke"

Definition at line 40 of file const.py.

◆ TUYA_DISCOVERY_NEW

string homeassistant.components.tuya.const.TUYA_DISCOVERY_NEW = "tuya_discovery_new"

Definition at line 43 of file const.py.

◆ TUYA_HA_SIGNAL_UPDATE_ENTITY

string homeassistant.components.tuya.const.TUYA_HA_SIGNAL_UPDATE_ENTITY = "tuya_entry_update"

Definition at line 44 of file const.py.

◆ TUYA_RESPONSE_CODE

string homeassistant.components.tuya.const.TUYA_RESPONSE_CODE = "code"

Definition at line 46 of file const.py.

◆ TUYA_RESPONSE_MSG

string homeassistant.components.tuya.const.TUYA_RESPONSE_MSG = "msg"

Definition at line 47 of file const.py.

◆ TUYA_RESPONSE_QR_CODE

string homeassistant.components.tuya.const.TUYA_RESPONSE_QR_CODE = "qrcode"

Definition at line 48 of file const.py.

◆ TUYA_RESPONSE_RESULT

string homeassistant.components.tuya.const.TUYA_RESPONSE_RESULT = "result"

Definition at line 49 of file const.py.

◆ TUYA_RESPONSE_SUCCESS

string homeassistant.components.tuya.const.TUYA_RESPONSE_SUCCESS = "success"

Definition at line 50 of file const.py.

◆ TUYA_SCHEMA

string homeassistant.components.tuya.const.TUYA_SCHEMA = "haauthorize"

Definition at line 41 of file const.py.

◆ UNITS

tuple homeassistant.components.tuya.const.UNITS

Definition at line 397 of file const.py.