13 lines
288 B
C++
13 lines
288 B
C++
#include "copy_button.h"
|
|
#include "esphome/core/log.h"
|
|
|
|
namespace esphome::copy {
|
|
|
|
static const char *const TAG = "copy.button";
|
|
|
|
void CopyButton::dump_config() { LOG_BUTTON("", "Copy Button", this); }
|
|
|
|
void CopyButton::press_action() { source_->press(); }
|
|
|
|
} // namespace esphome::copy
|