ESPHome 2025.5.0
Loading...
Searching...
No Matches
operating_mode_select.cpp
Go to the documentation of this file.
3#include "esphome/core/log.h"
4
5namespace esphome {
6namespace ld2420 {
7
8static const char *const TAG = "LD2420.select";
9
10void LD2420Select::control(const std::string &value) {
11 this->publish_state(value);
12 this->parent_->set_operating_mode(value);
13}
14
15} // namespace ld2420
16} // namespace esphome
void control(const std::string &value) override
void publish_state(const std::string &state)
Definition select.cpp:9
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7