ESPHome
2026.1.0-dev
Loading...
Searching...
No Matches
esphome
components
ld2412
select
light_out_control_select.cpp
Go to the documentation of this file.
1
#include "
light_out_control_select.h
"
2
3
namespace
esphome::ld2412
{
4
5
void
LightOutControlSelect::control
(
size_t
index) {
6
this->
publish_state
(index);
7
this->
parent_
->set_light_out_control();
8
}
9
10
}
// namespace esphome::ld2412
esphome::Parented< LD2412Component >::parent_
LD2412Component * parent_
Definition
helpers.h:1113
esphome::ld2412::LightOutControlSelect::control
void control(size_t index) override
Definition
light_out_control_select.cpp:5
esphome::select::Select::publish_state
void publish_state(const std::string &state)
Definition
select.cpp:11
light_out_control_select.h
esphome::ld2412
Definition
factory_reset_button.cpp:3
Generated by
1.12.0