ESPHome  2024.7.2
Public Member Functions | Data Fields
esphome::sml::SmlListener Class Reference

#include <sml.h>

Inheritance diagram for esphome::sml::SmlListener:
esphome::sml::SmlSensor esphome::sml::SmlTextSensor

Public Member Functions

 SmlListener (std::string server_id, std::string obis_code)
virtual void publish_val (const ObisInfo &obis_info)

Data Fields

std::string server_id
std::string obis_code

Detailed Description

Definition at line 13 of file sml.h.

Constructor & Destructor Documentation

◆ SmlListener()

esphome::sml::SmlListener::SmlListener ( std::string  server_id,
std::string  obis_code 

Definition at line 14 of file sml.cpp.

Member Function Documentation

◆ publish_val()

virtual void esphome::sml::SmlListener::publish_val ( const ObisInfo obis_info)

Reimplemented in esphome::sml::SmlTextSensor, and esphome::sml::SmlSensor.

Definition at line 18 of file sml.h.

Field Documentation

◆ obis_code

std::string esphome::sml::SmlListener::obis_code

Definition at line 16 of file sml.h.

◆ server_id

std::string esphome::sml::SmlListener::server_id

Definition at line 15 of file sml.h.

The documentation for this class was generated from the following files: