mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
44b68f140e
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
19 lines
324 B
C++
19 lines
324 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
namespace esphome {
|
|
namespace select {
|
|
|
|
class SelectTraits {
|
|
public:
|
|
void set_options(std::vector<std::string> options);
|
|
std::vector<std::string> get_options() const;
|
|
|
|
protected:
|
|
std::vector<std::string> options_;
|
|
};
|
|
|
|
} // namespace select
|
|
} // namespace esphome
|