ESPHome 2026.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::sml {
8
10 public:
11 SmlTextSensor(std::string server_id, std::string obis_code, SmlType format);
12 void publish_val(const ObisInfo &obis_info) override;
13 void dump_config() override;
14
15 protected:
17};
18
19} // namespace esphome::sml
std::string server_id
Definition sml.h:14
std::string obis_code
Definition sml.h:15
SmlTextSensor(std::string server_id, std::string obis_code, SmlType format)
void publish_val(const ObisInfo &obis_info) override
const char int const __FlashStringHelper * format
Definition log.h:74