ESPHome 2026.5.0-dev
Loading...
Searching...
No Matches
esphome::pylontech::PylontechTextSensor Class Reference

#include <pylontech_text_sensor.h>

Inheritance diagram for esphome::pylontech::PylontechTextSensor:
esphome::pylontech::PylontechListener

Public Member Functions

 PylontechTextSensor (int8_t bat_num)
 
void dump_config () override
 
 SUB_TEXT_SENSOR (base_state) SUB_TEXT_SENSOR(voltage_state) SUB_TEXT_SENSOR(current_state) SUB_TEXT_SENSOR(temperature_state) void on_line_read(LineContents *line) override
 
- Public Member Functions inherited from esphome::pylontech::PylontechListener
virtual void on_line_read (LineContents *line)
 

Protected Attributes

int8_t bat_num_
 

Detailed Description

Definition at line 9 of file pylontech_text_sensor.h.

Constructor & Destructor Documentation

◆ PylontechTextSensor()

esphome::pylontech::PylontechTextSensor::PylontechTextSensor ( int8_t bat_num)

Definition at line 10 of file pylontech_text_sensor.cpp.

Member Function Documentation

◆ dump_config()

void esphome::pylontech::PylontechTextSensor::dump_config ( )
overridevirtual

Reimplemented from esphome::pylontech::PylontechListener.

Definition at line 12 of file pylontech_text_sensor.cpp.

◆ SUB_TEXT_SENSOR()

esphome::pylontech::PylontechTextSensor::SUB_TEXT_SENSOR ( base_state )
override

Field Documentation

◆ bat_num_

int8_t esphome::pylontech::PylontechTextSensor::bat_num_
protected

Definition at line 22 of file pylontech_text_sensor.h.


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