ESPHome 2025.5.0
Loading...
Searching...
No Matches
sml_text_sensor.h
Go to the documentation of this file.
1#pragma once
2
5#include "../constants.h"
6
7namespace esphome {
8namespace 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
std::string server_id
Definition sml.h:15
std::string obis_code
Definition sml.h:16
SmlTextSensor(std::string server_id, std::string obis_code, SmlType format)
void publish_val(const ObisInfo &obis_info) override
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7