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

#include <tuya.h>

Data Fields

uint8_t id
TuyaDatapointType type
union {
   bool   value_bool
   int   value_int
   uint32_t   value_uint
   uint8_t   value_enum
   uint16_t   value_bitmask

Detailed Description

Definition at line 18 of file tuya.h.

Field Documentation

◆ @42

union { ... }

◆ id

uint8_t esphome::tuya::TuyaDatapoint::id

Definition at line 19 of file tuya.h.

◆ type

TuyaDatapointType esphome::tuya::TuyaDatapoint::type

Definition at line 20 of file tuya.h.

◆ value_bitmask

uint16_t esphome::tuya::TuyaDatapoint::value_bitmask

Definition at line 26 of file tuya.h.

◆ value_bool

bool esphome::tuya::TuyaDatapoint::value_bool

Definition at line 22 of file tuya.h.

◆ value_enum

uint8_t esphome::tuya::TuyaDatapoint::value_enum

Definition at line 25 of file tuya.h.

◆ value_int

int esphome::tuya::TuyaDatapoint::value_int

Definition at line 23 of file tuya.h.

◆ value_uint

uint32_t esphome::tuya::TuyaDatapoint::value_uint

Definition at line 24 of file tuya.h.

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