ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
systa_bus
text_sensor
systa_bus_text_sensor.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
../systa_bus.h
"
4
#include "
esphome/components/text_sensor/text_sensor.h
"
5
6
#include <span>
7
8
namespace
esphome::systa_bus
{
9
10
class
SystaSolarAquaTextSensor
:
public
SystaBusListener
,
public
Component
{
11
public
:
12
void
dump_config
()
override
;
13
void
set_error_code_text_sensor
(
text_sensor::TextSensor
*sensor) { this->
error_code_text_sensor_
= sensor; }
14
void
handle_message
(std::span<const uint8_t>
message
)
override
;
15
16
protected
:
17
text_sensor::TextSensor
*
error_code_text_sensor_
{
nullptr
};
18
};
19
20
}
// namespace esphome::systa_bus
esphome::Component
Definition
component.h:147
esphome::systa_bus::SystaBusListener
Definition
systa_bus.h:26
esphome::systa_bus::SystaSolarAquaTextSensor
Definition
systa_bus_text_sensor.h:10
esphome::systa_bus::SystaSolarAquaTextSensor::dump_config
void dump_config() override
Definition
systa_bus_text_sensor.cpp:8
esphome::systa_bus::SystaSolarAquaTextSensor::set_error_code_text_sensor
void set_error_code_text_sensor(text_sensor::TextSensor *sensor)
Definition
systa_bus_text_sensor.h:13
esphome::systa_bus::SystaSolarAquaTextSensor::error_code_text_sensor_
text_sensor::TextSensor * error_code_text_sensor_
Definition
systa_bus_text_sensor.h:17
esphome::systa_bus::SystaSolarAquaTextSensor::handle_message
void handle_message(std::span< const uint8_t > message) override
Definition
systa_bus_text_sensor.cpp:13
esphome::text_sensor::TextSensor
Definition
text_sensor.h:28
message
const LogString * message
Definition
component.cpp:35
esphome::systa_bus
Definition
systa_bus_sensor.cpp:5
systa_bus.h
text_sensor.h
Generated by
1.12.0