ESPHome 2026.11.0b6
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 final : public select::Select, public Component {
9 SUB_SELECT(source)
10
11 public:
12 void setup() override;
13 void dump_config() override;
14
15 protected:
16 void control(size_t index) override;
17};
18
19} // namespace esphome::copy
virtual void setup()
Where the component's initialization should happen.
Definition component.cpp:84
void control(size_t index) override
Base-class for all selects.
Definition select.h:28