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

#include <pylontech_sensor.h>

Inheritance diagram for esphome::pylontech::PylontechSensor:
esphome::pylontech::PylontechListener

Public Member Functions

 PylontechSensor (int8_t bat_num)
 
void dump_config () override
 
 SUB_SENSOR (voltage) SUB_SENSOR(current) SUB_SENSOR(temperature) SUB_SENSOR(temperature_low) SUB_SENSOR(temperature_high) SUB_SENSOR(voltage_low) SUB_SENSOR(voltage_high) SUB_SENSOR(coulomb) SUB_SENSOR(mos_temperature) 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_sensor.h.

Constructor & Destructor Documentation

◆ PylontechSensor()

esphome::pylontech::PylontechSensor::PylontechSensor ( int8_t bat_num)

Definition at line 10 of file pylontech_sensor.cpp.

Member Function Documentation

◆ dump_config()

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

Reimplemented from esphome::pylontech::PylontechListener.

Definition at line 12 of file pylontech_sensor.cpp.

◆ SUB_SENSOR()

esphome::pylontech::PylontechSensor::SUB_SENSOR ( voltage )
override

Field Documentation

◆ bat_num_

int8_t esphome::pylontech::PylontechSensor::bat_num_
protected

Definition at line 28 of file pylontech_sensor.h.


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