ESPHome
2024.10.2
esphome
esphome
components
teleinfo
text_sensor
teleinfo_text_sensor.h
Go to the documentation of this file.
1
#pragma once
2
#include "
esphome/components/teleinfo/teleinfo.h
"
3
#include "
esphome/components/text_sensor/text_sensor.h
"
4
namespace
esphome
{
5
namespace
teleinfo {
6
class
TeleInfoTextSensor
:
public
TeleInfoListener
,
public
text_sensor::TextSensor
,
public
Component
{
7
public
:
8
TeleInfoTextSensor
(
const
char
*
tag
);
9
void
publish_val
(
const
std::string &
val
)
override
;
10
void
dump_config
()
override
;
11
};
12
}
// namespace teleinfo
13
}
// namespace esphome
esphome::teleinfo::TeleInfoTextSensor
Definition:
teleinfo_text_sensor.h:6
esphome::teleinfo::TeleInfoTextSensor::publish_val
void publish_val(const std::string &val) override
Definition:
teleinfo_text_sensor.cpp:8
esphome::Component
Definition:
component.h:68
val
mopeka_std_values val[4]
Definition:
mopeka_std_check.h:224
esphome::teleinfo::TeleInfoTextSensor::TeleInfoTextSensor
TeleInfoTextSensor(const char *tag)
Definition:
teleinfo_text_sensor.cpp:7
esphome::text_sensor::TextSensor
Definition:
text_sensor.h:34
esphome::teleinfo::TeleInfoListener
Definition:
teleinfo.h:19
esphome::teleinfo::TeleInfoListener::tag
std::string tag
Definition:
teleinfo.h:21
teleinfo.h
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::teleinfo::TeleInfoTextSensor::dump_config
void dump_config() override
Definition:
teleinfo_text_sensor.cpp:9
text_sensor.h
Generated by
1.8.13