ESPHome  2024.11.0
teleinfo_sensor.h
Go to the documentation of this file.
1 #pragma once
4 
5 namespace esphome {
6 namespace teleinfo {
7 
8 class TeleInfoSensor : public TeleInfoListener, public sensor::Sensor, public Component {
9  public:
10  TeleInfoSensor(const char *tag);
11  void publish_val(const std::string &val) override;
12  void dump_config() override;
13 };
14 
15 } // namespace teleinfo
16 } // namespace esphome
mopeka_std_values val[4]
void publish_val(const std::string &val) override
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
Base-class for all sensors.
Definition: sensor.h:57