ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
espectre_select.h
Go to the documentation of this file.
1#pragma once
2
4
5#ifdef USE_ESPECTRE
6
8#include "../espectre.h"
9
10namespace esphome::espectre {
11
12class TrafficModeSelect final : public select::Select, public Parented<ESPectreComponent> {
13 protected:
14 void control(size_t index) override;
15};
16
17} // namespace esphome::espectre
18
19#endif // USE_ESPECTRE
Helper class to easily give an object a parent of type T.
Definition helpers.h:1997
void control(size_t index) override
Base-class for all selects.
Definition select.h:29