ESPHome
2025.5.0
Loading...
Searching...
No Matches
esphome
components
copy
button
copy_button.cpp
Go to the documentation of this file.
1
#include "
copy_button.h
"
2
#include "
esphome/core/log.h
"
3
4
namespace
esphome
{
5
namespace
copy {
6
7
static
const
char
*
const
TAG =
"copy.button"
;
8
9
void
CopyButton::dump_config
() { LOG_BUTTON(
""
,
"Copy Button"
,
this
); }
10
11
void
CopyButton::press_action
() {
source_
->
press
(); }
12
13
}
// namespace copy
14
}
// namespace esphome
esphome::button::Button::press
void press()
Press this button.
Definition
button.cpp:9
esphome::copy::CopyButton::source_
button::Button * source_
Definition
copy_button.h:18
esphome::copy::CopyButton::press_action
void press_action() override
Definition
copy_button.cpp:11
esphome::copy::CopyButton::dump_config
void dump_config() override
Definition
copy_button.cpp:9
copy_button.h
log.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
Generated by
1.12.0