ESPHome
2024.9.2
esphome
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::copy::CopyButton::dump_config
void dump_config() override
Definition:
copy_button.cpp:9
copy_button.h
esphome::button::Button::press
void press()
Press this button.
Definition:
button.cpp:9
esphome::copy::CopyButton::press_action
void press_action() override
Definition:
copy_button.cpp:11
esphome::copy::CopyButton::source_
button::Button * source_
Definition:
copy_button.h:18
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
log.h
Generated by
1.8.13