22 switch (this->
type_) {
void set_type(SensorType type)
void dump_config() override
This class simplifies creating components that periodically check a state.
void publish_state(float state)
Publish a new state to the front-end.
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Base-class for all sensors.
void set_parent(Sun *parent)