ESPHome  2024.10.2
baud_rate_select.cpp
Go to the documentation of this file.
1 #include "baud_rate_select.h"
2 
3 namespace esphome {
4 namespace ld2410 {
5 
6 void BaudRateSelect::control(const std::string &value) {
7  this->publish_state(value);
8  this->parent_->set_baud_rate(state);
9 }
10 
11 } // namespace ld2410
12 } // namespace esphome
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
void control(const std::string &value) override