mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 01:28:39 +00:00
11 lines
220 B
C++
11 lines
220 B
C++
#include "multi_target_switch.h"
|
|
|
|
namespace esphome::ld2450 {
|
|
|
|
void MultiTargetSwitch::write_state(bool state) {
|
|
this->publish_state(state);
|
|
this->parent_->set_multi_target(state);
|
|
}
|
|
|
|
} // namespace esphome::ld2450
|