1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-19 11:42:20 +01:00
Files
esphome/esphome/components/select/select_traits.h

20 lines
331 B
C++

#pragma once
#include <vector>
#include <string>
namespace esphome {
namespace select {
class SelectTraits {
public:
void set_options(std::vector<std::string> options);
const std::vector<std::string> &get_options() const;
protected:
std::vector<std::string> options_;
};
} // namespace select
} // namespace esphome