ESPHome  2024.11.0
uponor_smatrix_climate.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace uponor_smatrix {
9 
11  public:
12  void dump_config() override;
13  void loop() override;
14 
15  protected:
16  climate::ClimateTraits traits() override;
17  void control(const climate::ClimateCall &call) override;
18  void on_device_data(const UponorSmatrixData *data, size_t data_len) override;
19 
20  uint32_t last_data_;
21  float min_temperature_{5.0f};
22  float max_temperature_{35.0f};
23  uint16_t eco_setback_value_raw_{0x0048};
25 };
26 
27 } // namespace uponor_smatrix
28 } // namespace esphome
void control(const climate::ClimateCall &call) override
This class is used to encode all control actions on a climate device.
Definition: climate.h:33
void on_device_data(const UponorSmatrixData *data, size_t data_len) override
This class contains all static data for climate devices.
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
ClimateDevice - This is the base class for all climate integrations.
Definition: climate.h:168