[ld2450] Add new component (#5674)

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>
This commit is contained in:
Hareesh M U
2025-02-20 03:16:08 -06:00
committed by GitHub
co-authored by Jesse Hills Marcus Better Trevor Schirmer Keith Burzinski
parent 3020083564
commit bf739506c3
34 changed files with 2116 additions and 0 deletions
@@ -0,0 +1,12 @@
#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