ESPHome 2026.1.0-dev
Loading...
Searching...
No Matches
select_traits.h
Go to the documentation of this file.
1#pragma once
2
4#include <initializer_list>
5
6namespace esphome::select {
7
9 public:
10 void set_options(const std::initializer_list<const char *> &options);
13
14 protected:
16};
17
18} // namespace esphome::select
Fixed-capacity vector - allocates once at runtime, never reallocates This avoids std::vector template...
Definition helpers.h:184
const FixedVector< const char * > & get_options() const
FixedVector< const char * > options_
void set_options(const std::initializer_list< const char * > &options)
uint8_t options