ESPHome  2022.6.3
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:14
std::string obis_code
Definition: sml.h:15
void publish_val(const ObisInfo &obis_info) override
Definition: a4988.cpp:4