ESPHome
2026.8.0b4
Loading...
Searching...
No Matches
esphome
components
ld6002b
select
ld6002b_select.cpp
Go to the documentation of this file.
1
#include "
ld6002b_select.h
"
2
3
namespace
esphome::ld6002b
{
4
5
void
LD6002BSelect::control
(
size_t
index) {
6
this->
publish_state
(index);
7
this->
parent_
->set_select_value(this->
type_
, index);
8
}
9
10
}
// namespace esphome::ld6002b
esphome::Parented< LD6002BComponent >::parent_
LD6002BComponent * parent_
Definition
helpers.h:1918
esphome::ld6002b::LD6002BSelect::control
void control(size_t index) override
Definition
ld6002b_select.cpp:5
esphome::ld6002b::LD6002BSelect::type_
SelectType type_
Definition
ld6002b_select.h:15
esphome::select::Select::publish_state
void publish_state(const std::string &state)
Definition
select.cpp:11
ld6002b_select.h
esphome::ld6002b
Definition
ld6002b_button.cpp:3
Generated by
1.12.0