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