ESPHome  1.15.2
Data Structures | Enumerations
esphome::tuya Namespace Reference

Data Structures

class  Tuya
 
class  TuyaBinarySensor
 
class  TuyaClimate
 
struct  TuyaDatapoint
 
struct  TuyaDatapointListener
 
class  TuyaFan
 
class  TuyaLight
 
class  TuyaSensor
 
class  TuyaSwitch
 

Enumerations

enum  TuyaDatapointType : uint8_t {
  TuyaDatapointType::RAW = 0x00, TuyaDatapointType::BOOLEAN = 0x01, TuyaDatapointType::INTEGER = 0x02, TuyaDatapointType::STRING = 0x03,
  TuyaDatapointType::ENUM = 0x04, TuyaDatapointType::BITMASK = 0x05
}
 
enum  TuyaCommandType : uint8_t {
  TuyaCommandType::HEARTBEAT = 0x00, TuyaCommandType::PRODUCT_QUERY = 0x01, TuyaCommandType::CONF_QUERY = 0x02, TuyaCommandType::WIFI_STATE = 0x03,
  TuyaCommandType::WIFI_RESET = 0x04, TuyaCommandType::WIFI_SELECT = 0x05, TuyaCommandType::DATAPOINT_DELIVER = 0x06, TuyaCommandType::DATAPOINT_REPORT = 0x07,
  TuyaCommandType::DATAPOINT_QUERY = 0x08, TuyaCommandType::WIFI_TEST = 0x0E
}
 
enum  TuyaInitState : uint8_t {
  TuyaInitState::INIT_HEARTBEAT = 0x00, TuyaInitState::INIT_PRODUCT, TuyaInitState::INIT_CONF, TuyaInitState::INIT_WIFI,
  TuyaInitState::INIT_DATAPOINT, TuyaInitState::INIT_DONE
}
 

Enumeration Type Documentation

◆ TuyaCommandType

enum esphome::tuya::TuyaCommandType : uint8_t
strong
Enumerator
HEARTBEAT 
PRODUCT_QUERY 
CONF_QUERY 
WIFI_STATE 
WIFI_RESET 
WIFI_SELECT 
DATAPOINT_DELIVER 
DATAPOINT_REPORT 
DATAPOINT_QUERY 
WIFI_TEST 

Definition at line 35 of file tuya.h.

◆ TuyaDatapointType

enum esphome::tuya::TuyaDatapointType : uint8_t
strong
Enumerator
RAW 
BOOLEAN 
INTEGER 
STRING 
ENUM 
BITMASK 

Definition at line 9 of file tuya.h.

◆ TuyaInitState

enum esphome::tuya::TuyaInitState : uint8_t
strong
Enumerator
INIT_HEARTBEAT 
INIT_PRODUCT 
INIT_CONF 
INIT_WIFI 
INIT_DATAPOINT 
INIT_DONE 

Definition at line 48 of file tuya.h.