ESPHome
2024.12.2
esphome
esphome
components
ld2410
number
max_distance_timeout_number.cpp
Go to the documentation of this file.
1
#include "
max_distance_timeout_number.h
"
2
3
namespace
esphome
{
4
namespace
ld2410 {
5
6
void
MaxDistanceTimeoutNumber::control
(
float
value) {
7
this->
publish_state
(value);
8
this->
parent_
->set_max_distances_timeout();
9
}
10
11
}
// namespace ld2410
12
}
// namespace esphome
esphome::number::Number::publish_state
void publish_state(float state)
Definition:
number.cpp:9
esphome::Parented< LD2410Component >::parent_
LD2410Component * parent_
Definition:
helpers.h:541
max_distance_timeout_number.h
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::ld2410::MaxDistanceTimeoutNumber::control
void control(float value) override
Definition:
max_distance_timeout_number.cpp:6
Generated by
1.8.13