ESPHome
2026.12.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 "
esphome/components/text_sensor/text_sensor.h
"
4
5
#include <span>
6
7
namespace
esphome::systa_bus
{
8
9
// Publishes the error code of an Aqua sensor data message: "--" for none, else two digits
10
void
publish_aqua_error_code
(text_sensor::TextSensor *sensor, std::span<const uint8_t>
message
);
11
void
dump_aqua_error_code
(
const
char
*log_tag, text_sensor::TextSensor *sensor);
12
13
}
// namespace esphome::systa_bus
message
const LogString * message
Definition
component.cpp:35
esphome::systa_bus
Definition
systa_bus_sensor.cpp:5
esphome::systa_bus::dump_aqua_error_code
void dump_aqua_error_code(const char *log_tag, text_sensor::TextSensor *sensor)
Definition
systa_bus_text_sensor.cpp:18
esphome::systa_bus::publish_aqua_error_code
void publish_aqua_error_code(text_sensor::TextSensor *sensor, std::span< const uint8_t > message)
Definition
systa_bus_text_sensor.cpp:8
text_sensor.h
Generated by
1.12.0