Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Marcus Better <marcus@better.se> Co-authored-by: Trevor Schirmer <24777085+TrevorSchirmer@users.noreply.github.com> Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
13 lines
250 B
C++
13 lines
250 B
C++
#include "presence_timeout_number.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2450 {
|
|
|
|
void PresenceTimeoutNumber::control(float value) {
|
|
this->publish_state(value);
|
|
this->parent_->set_presence_timeout();
|
|
}
|
|
|
|
} // namespace ld2450
|
|
} // namespace esphome
|