ESPHome  2022.6.3
pid_climate_sensor.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace esphome {
7 namespace pid {
8 
20 };
21 
22 class PIDClimateSensor : public sensor::Sensor, public Component {
23  public:
24  void setup() override;
25  void set_parent(PIDClimate *parent) { parent_ = parent; }
27 
28  void dump_config() override;
29 
30  protected:
31  void update_from_parent_();
34 };
35 
36 } // namespace pid
37 } // namespace esphome
void set_type(PIDClimateSensorType type)
void set_parent(PIDClimate *parent)
uint8_t type
Definition: a4988.cpp:4
Base-class for all sensors.
Definition: sensor.h:47