Add Seeed Studio mmWave Kit MR24HPC1 (#5761)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Peter Pan <twinkle-pirate@hotmail.com>
This commit is contained in:
Citric Lee
2024-03-12 11:33:40 +08:00
committed by GitHub
parent 5b28bd3d97
commit 4bbde8357a
43 changed files with 2330 additions and 0 deletions
@@ -0,0 +1,15 @@
#include "motion_boundary_select.h"
namespace esphome {
namespace seeed_mr24hpc1 {
void MotionBoundarySelect::control(const std::string &value) {
this->publish_state(value);
auto index = this->index_of(value);
if (index.has_value()) {
this->parent_->set_motion_boundary(index.value());
}
}
} // namespace seeed_mr24hpc1
} // namespace esphome