ESPHome
2024.10.2
esphome
esphome
components
teleinfo
sensor
teleinfo_sensor.h
Go to the documentation of this file.
1
#pragma once
2
#include "
esphome/components/teleinfo/teleinfo.h
"
3
#include "
esphome/components/sensor/sensor.h
"
4
5
namespace
esphome
{
6
namespace
teleinfo {
7
8
class
TeleInfoSensor
:
public
TeleInfoListener
,
public
sensor::Sensor
,
public
Component
{
9
public
:
10
TeleInfoSensor
(
const
char
*
tag
);
11
void
publish_val
(
const
std::string &
val
)
override
;
12
void
dump_config
()
override
;
13
};
14
15
}
// namespace teleinfo
16
}
// namespace esphome
esphome::teleinfo::TeleInfoSensor
Definition:
teleinfo_sensor.h:8
esphome::Component
Definition:
component.h:68
val
mopeka_std_values val[4]
Definition:
mopeka_std_check.h:224
sensor.h
esphome::teleinfo::TeleInfoSensor::dump_config
void dump_config() override
Definition:
teleinfo_sensor.cpp:12
esphome::teleinfo::TeleInfoSensor::TeleInfoSensor
TeleInfoSensor(const char *tag)
Definition:
teleinfo_sensor.cpp:7
esphome::teleinfo::TeleInfoSensor::publish_val
void publish_val(const std::string &val) override
Definition:
teleinfo_sensor.cpp:8
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::sensor::Sensor
Base-class for all sensors.
Definition:
sensor.h:57
Generated by
1.8.13