ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
espectre_select.cpp
Go to the documentation of this file.
1#include "espectre_select.h"
2
3#ifdef USE_ESPECTRE
4
5namespace esphome::espectre {
6
7void 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
void control(size_t index) override
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