ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
copy_select.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace esphome::copy {
7
8class CopySelect : public select::Select, public Component {
9 public:
10 void set_source(select::Select *source) { source_ = source; }
11 void setup() override;
12 void dump_config() override;
13
14 protected:
15 void control(size_t index) override;
16
18};
19
20} // namespace esphome::copy
void control(size_t index) override
select::Select * source_
Definition copy_select.h:17
void dump_config() override
void set_source(select::Select *source)
Definition copy_select.h:10
Base-class for all selects.
Definition select.h:29