Co-authored-by: Keith Burzinski <kbx81x@gmail.com> Co-authored-by: J. Nick Koston <nick@koston.org>
13 lines
253 B
C++
13 lines
253 B
C++
#include "max_distance_timeout_number.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2412 {
|
|
|
|
void MaxDistanceTimeoutNumber::control(float value) {
|
|
this->publish_state(value);
|
|
this->parent_->set_basic_config();
|
|
}
|
|
|
|
} // namespace ld2412
|
|
} // namespace esphome
|