ESPHome  2024.12.2
distance_resolution_select.cpp
Go to the documentation of this file.
2 
3 namespace esphome {
4 namespace ld2410 {
5 
6 void DistanceResolutionSelect::control(const std::string &value) {
7  this->publish_state(value);
8  this->parent_->set_distance_resolution(state);
9 }
10 
11 } // namespace ld2410
12 } // namespace esphome
void control(const std::string &value) override
std::string state
Definition: select.h:33
void publish_state(const std::string &state)
Definition: select.cpp:9
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7