Add configuration flow abilites to the ld2410 component (#4434)

This commit is contained in:
Regev Brody
2023-08-16 02:31:18 +03:00
committed by GitHub
parent 87629191b3
commit 5cb5594288
35 changed files with 1621 additions and 327 deletions
@@ -0,0 +1,12 @@
#include "distance_resolution_select.h"
namespace esphome {
namespace ld2410 {
void DistanceResolutionSelect::control(const std::string &value) {
this->publish_state(value);
this->parent_->set_distance_resolution(state);
}
} // namespace ld2410
} // namespace esphome