ESPHome  2024.9.2
Data Structures | Typedefs | Variables
esphome::statsd Namespace Reference

Data Structures

class  StatsdComponent
 

Typedefs

using sensor_type_t = enum { TYPE_SENSOR, TYPE_BINARY_SENSOR }
 
using sensors_t = struct { const char *name
 

Variables

sensor_type_t type
 
union {
   esphome::sensor::Sensor *   esphome::statsd::sensor
 
   esphome::binary_sensor::BinarySensor *   esphome::statsd::binary_sensor
 
}; 
 

Typedef Documentation

◆ sensor_type_t

using esphome::statsd::sensor_type_t = typedef enum { TYPE_SENSOR, TYPE_BINARY_SENSOR }

Definition at line 30 of file statsd.h.

◆ sensors_t

using esphome::statsd::sensors_t = typedef struct { const char *name

Definition at line 33 of file statsd.h.

Variable Documentation

◆ @133

union { ... }

◆ binary_sensor

esphome::binary_sensor::BinarySensor* esphome::statsd::binary_sensor

Definition at line 40 of file statsd.h.

◆ sensor

esphome::sensor::Sensor* esphome::statsd::sensor

Definition at line 37 of file statsd.h.

◆ type

sensor_type_t esphome::statsd::type

Definition at line 34 of file statsd.h.