mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-21 05:23:27 +02:00
13 lines
249 B
C++
13 lines
249 B
C++
#include "light_threshold_number.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2410 {
|
|
|
|
void LightThresholdNumber::control(float value) {
|
|
this->publish_state(value);
|
|
this->parent_->set_light_out_control();
|
|
}
|
|
|
|
} // namespace ld2410
|
|
} // namespace esphome
|