ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
espectre
select
espectre_select.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/defines.h
"
4
5
#ifdef USE_ESPECTRE
6
7
#include "
esphome/components/select/select.h
"
8
#include "
../espectre.h
"
9
10
namespace
esphome::espectre
{
11
12
class
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
esphome::Parented
Helper class to easily give an object a parent of type T.
Definition
helpers.h:1997
esphome::espectre::TrafficModeSelect
Definition
espectre_select.h:12
esphome::espectre::TrafficModeSelect::control
void control(size_t index) override
Definition
espectre_select.cpp:7
esphome::select::Select
Base-class for all selects.
Definition
select.h:29
defines.h
espectre.h
esphome::espectre
Definition
espectre_button.h:10
select.h
Generated by
1.12.0