ESPHome 2026.9.0
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);
12 const FixedVector<const char *> &get_options() const { return this->options_; }
13
14 protected:
16};
17
18} // namespace esphome::select
Fixed-capacity vector - sized once through init() or try_init(); push_back never reallocates This avo...
Definition helpers.h:558
const FixedVector< const char * > & get_options() const
FixedVector< const char * > options_
void set_options(const std::initializer_list< const char * > &options)
uint8_t options