mirror of
https://github.com/esphome/esphome.git
synced 2025-03-25 12:08:16 +00:00
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
246 B
C++
13 lines
246 B
C++
#include "multi_target_switch.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2450 {
|
|
|
|
void MultiTargetSwitch::write_state(bool state) {
|
|
this->publish_state(state);
|
|
this->parent_->set_multi_target(state);
|
|
}
|
|
|
|
} // namespace ld2450
|
|
} // namespace esphome
|