mirror of
https://github.com/esphome/esphome.git
synced 2025-04-18 08:40:29 +01:00
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Marcus Better <marcus@better.se> Co-authored-by: Trevor Schirmer <24777085+TrevorSchirmer@users.noreply.github.com> Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
13 lines
247 B
C++
13 lines
247 B
C++
#include "baud_rate_select.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2450 {
|
|
|
|
void BaudRateSelect::control(const std::string &value) {
|
|
this->publish_state(value);
|
|
this->parent_->set_baud_rate(state);
|
|
}
|
|
|
|
} // namespace ld2450
|
|
} // namespace esphome
|