ESPHome
2024.12.2
esphome
esphome
components
internal_temperature
internal_temperature.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/sensor/sensor.h
"
5
6
namespace
esphome
{
7
namespace
internal_temperature {
8
9
class
InternalTemperatureSensor
:
public
sensor::Sensor
,
public
PollingComponent
{
10
public
:
11
void
setup
()
override
;
12
void
dump_config
()
override
;
13
14
void
update
()
override
;
15
};
16
17
}
// namespace internal_temperature
18
}
// namespace esphome
esphome::internal_temperature::InternalTemperatureSensor::update
void update() override
Definition:
internal_temperature.cpp:41
esphome::PollingComponent
This class simplifies creating components that periodically check a state.
Definition:
component.h:283
sensor.h
esphome::internal_temperature::InternalTemperatureSensor
Definition:
internal_temperature.h:9
esphome::internal_temperature::InternalTemperatureSensor::dump_config
void dump_config() override
Definition:
internal_temperature.cpp:125
esphome::internal_temperature::InternalTemperatureSensor::setup
void setup() override
Definition:
internal_temperature.cpp:99
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
esphome::sensor::Sensor
Base-class for all sensors.
Definition:
sensor.h:57
Generated by
1.8.13