ESPHome  2024.11.0
select_traits.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 #include <string>
5 
6 namespace esphome {
7 namespace select {
8 
9 class SelectTraits {
10  public:
11  void set_options(std::vector<std::string> options);
12  std::vector<std::string> get_options() const;
13 
14  protected:
15  std::vector<std::string> options_;
16 };
17 
18 } // namespace select
19 } // namespace esphome
void set_options(std::vector< std::string > options)
std::vector< std::string > get_options() const
uint8_t options
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
std::vector< std::string > options_
Definition: select_traits.h:15