ESPHome  2022.12.8
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
Definition: a4988.cpp:4
std::vector< std::string > options_
Definition: select_traits.h:15