ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
espectre
select
espectre_select.cpp
Go to the documentation of this file.
1
#include "
espectre_select.h
"
2
3
#ifdef USE_ESPECTRE
4
5
namespace
esphome::espectre
{
6
7
void
TrafficModeSelect::control
(
size_t
index) { this->
parent_
->request_traffic_generator_mode(this->
option_at
(index)); }
8
9
}
// namespace esphome::espectre
10
11
#endif
// USE_ESPECTRE
esphome::Parented< ESPectreComponent >::parent_
ESPectreComponent * parent_
Definition
helpers.h:2008
esphome::espectre::TrafficModeSelect::control
void control(size_t index) override
Definition
espectre_select.cpp:7
esphome::select::Select::option_at
const char * option_at(size_t index) const
Return the option value at the provided index offset (as const char* from flash).
Definition
select.cpp:60
espectre_select.h
esphome::espectre
Definition
espectre_button.h:10
Generated by
1.12.0