12 lines
249 B
C++
12 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
|