ESPHome  2024.12.2
uponor_smatrix_sensor.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace esphome {
8 namespace uponor_smatrix {
9 
11  SUB_SENSOR(temperature)
12  SUB_SENSOR(external_temperature)
13  SUB_SENSOR(humidity)
14 
15  public:
16  void dump_config() override;
17 
18  protected:
19  void on_device_data(const UponorSmatrixData *data, size_t data_len) override;
20 };
21 
22 } // namespace uponor_smatrix
23 } // namespace esphome
virtual void dump_config()
Definition: component.cpp:186
uint16_t temperature
Definition: sun_gtil2.cpp:26
void on_device_data(const UponorSmatrixData *data, size_t data_len) override
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
Base-class for all sensors.
Definition: sensor.h:57