ESPHome 2025.9.0-dev
Loading...
Searching...
No Matches
copy_button.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace esphome {
7namespace copy {
8
9class CopyButton : public button::Button, public Component {
10 public:
11 void set_source(button::Button *source) { source_ = source; }
12 void dump_config() override;
13
14 protected:
15 void press_action() override;
16
18};
19
20} // namespace copy
21} // namespace esphome
Base class for all buttons.
Definition button.h:29
button::Button * source_
Definition copy_button.h:17
void press_action() override
void dump_config() override
void set_source(button::Button *source)
Definition copy_button.h:11
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7