ESPHome  2024.6.6
Data Structures | Namespaces | Enumerations | Functions
sensor.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::sensor::Sensor
 Base-class for all sensors. More...


 This is a workaround until we can figure out a way to get the tflite-micro idf component code available in CI.


enum  esphome::sensor::StateClass : uint8_t { esphome::sensor::STATE_CLASS_NONE = 0, esphome::sensor::STATE_CLASS_MEASUREMENT = 1, esphome::sensor::STATE_CLASS_TOTAL_INCREASING = 2, esphome::sensor::STATE_CLASS_TOTAL = 3 }
 Sensor state classes. More...


std::string esphome::sensor::state_class_to_string (StateClass state_class)