ESPHome  2024.12.2
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...
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::sensor
 

Enumerations

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...
 

Functions

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