ESPHome  2022.11.3
select_traits.cpp
Go to the documentation of this file.
1 #include "select_traits.h"
2 
3 namespace esphome {
4 namespace select {
5 
6 void SelectTraits::set_options(std::vector<std::string> options) { this->options_ = std::move(options); }
7 
8 std::vector<std::string> SelectTraits::get_options() const { return this->options_; }
9 
10 } // namespace select
11 } // 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