ESPHome  2024.11.1
sml_text_sensor.h
Go to the documentation of this file.
1 #pragma once
2 
5 #include "../constants.h"
6 
7 namespace esphome {
8 namespace sml {
9 
11  public:
12  SmlTextSensor(std::string server_id, std::string obis_code, SmlType format);
13  void publish_val(const ObisInfo &obis_info) override;
14  void dump_config() override;
15 
16  protected:
18 };
19 
20 } // namespace sml
21 } // namespace esphome
SmlTextSensor(std::string server_id, std::string obis_code, SmlType format)
std::string server_id
Definition: sml.h:15
std::string obis_code
Definition: sml.h:16
void publish_val(const ObisInfo &obis_info) override
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7