ESPHome
2024.11.1
esphome
esphome
components
ld2410
select
light_out_control_select.cpp
Go to the documentation of this file.
1
#include "
light_out_control_select.h
"
2
3
namespace
esphome
{
4
namespace
ld2410 {
5
6
void
LightOutControlSelect::control
(
const
std::string &value) {
7
this->
publish_state
(value);
8
this->
parent_
->set_light_out_control();
9
}
10
11
}
// namespace ld2410
12
}
// namespace esphome
esphome::Parented< LD2410Component >::parent_
LD2410Component * parent_
Definition:
helpers.h:533
esphome::select::Select::publish_state
void publish_state(const std::string &state)
Definition:
select.cpp:9
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::ld2410::LightOutControlSelect::control
void control(const std::string &value) override
Definition:
light_out_control_select.cpp:6
light_out_control_select.h
Generated by
1.8.13