mirror of
https://github.com/esphome/esphome.git
synced 2025-11-16 06:45:48 +00:00
13 lines
247 B
C++
13 lines
247 B
C++
#include "baud_rate_select.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2410 {
|
|
|
|
void BaudRateSelect::control(const std::string &value) {
|
|
this->publish_state(value);
|
|
this->parent_->set_baud_rate(state);
|
|
}
|
|
|
|
} // namespace ld2410
|
|
} // namespace esphome
|