Add copy integration (#3241)

This commit is contained in:
Otto Winter
2022-02-20 21:13:37 +01:00
committed by GitHub
parent 8dae7f8225
commit f59dbe4a88
35 changed files with 934 additions and 0 deletions
@@ -0,0 +1,14 @@
#include "copy_button.h"
#include "esphome/core/log.h"
namespace esphome {
namespace copy {
static const char *const TAG = "copy.button";
void CopyButton::dump_config() { LOG_BUTTON("", "Copy Button", this); }
void CopyButton::press_action() { source_->press(); }
} // namespace copy
} // namespace esphome