ESPHome  2024.11.0
Data Fields
esphome::tuya::TuyaDatapoint Struct Reference

#include <tuya.h>

Data Fields

uint8_t id
 
TuyaDatapointType type
 
size_t len
 
union {
   bool   value_bool
 
   int   value_int
 
   uint32_t   value_uint
 
   uint8_t   value_enum
 
   uint32_t   value_bitmask
 
}; 
 
std::string value_string
 
std::vector< uint8_t > value_raw
 

Detailed Description

Definition at line 28 of file tuya.h.

Field Documentation

◆ @138

union { ... }

◆ id

uint8_t esphome::tuya::TuyaDatapoint::id

Definition at line 29 of file tuya.h.

◆ len

size_t esphome::tuya::TuyaDatapoint::len

Definition at line 31 of file tuya.h.

◆ type

TuyaDatapointType esphome::tuya::TuyaDatapoint::type

Definition at line 30 of file tuya.h.

◆ value_bitmask

uint32_t esphome::tuya::TuyaDatapoint::value_bitmask

Definition at line 37 of file tuya.h.

◆ value_bool

bool esphome::tuya::TuyaDatapoint::value_bool

Definition at line 33 of file tuya.h.

◆ value_enum

uint8_t esphome::tuya::TuyaDatapoint::value_enum

Definition at line 36 of file tuya.h.

◆ value_int

int esphome::tuya::TuyaDatapoint::value_int

Definition at line 34 of file tuya.h.

◆ value_raw

std::vector<uint8_t> esphome::tuya::TuyaDatapoint::value_raw

Definition at line 40 of file tuya.h.

◆ value_string

std::string esphome::tuya::TuyaDatapoint::value_string

Definition at line 39 of file tuya.h.

◆ value_uint

uint32_t esphome::tuya::TuyaDatapoint::value_uint

Definition at line 35 of file tuya.h.


The documentation for this struct was generated from the following file: