ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
duco
text_sensor
serial.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/components/text_sensor/text_sensor.h
"
4
5
#include "
../duco.h
"
6
7
namespace
esphome::duco
{
8
9
class
DucoSerial
:
public
DucoDevice
,
public
text_sensor::TextSensor
{
10
public
:
11
void
update
()
override
;
12
void
receive_response
(
const
DucoMessage
&
message
)
override
;
13
};
14
15
}
// namespace esphome::duco
esphome::duco::DucoDevice
Every entity polls the box; deriving from PollingComponent shares its vtable.
Definition
duco.h:81
esphome::duco::DucoSerial
Definition
serial.h:9
esphome::duco::DucoSerial::update
void update() override
Definition
serial.cpp:7
esphome::duco::DucoSerial::receive_response
void receive_response(const DucoMessage &message) override
Definition
serial.cpp:9
esphome::text_sensor::TextSensor
Definition
text_sensor.h:29
message
const LogString * message
Definition
component.cpp:35
duco.h
esphome::duco
Definition
duco.cpp:6
esphome::duco::DucoMessage
A received message; data points into the receive buffer and is valid only during the callback.
Definition
duco.h:22
text_sensor.h
Generated by
1.12.0