From 036e5cda7ee9318a09e6e3e0c4aab6e34fe7932b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 25 Aug 2026 00:24:14 -0500 Subject: [PATCH] [core] Remove empty automation.cpp files from sensor, switch and output (#18745) --- esphome/components/output/automation.cpp | 8 -------- esphome/components/sensor/automation.cpp | 8 -------- esphome/components/switch/automation.cpp | 8 -------- 3 files changed, 24 deletions(-) delete mode 100644 esphome/components/output/automation.cpp delete mode 100644 esphome/components/sensor/automation.cpp delete mode 100644 esphome/components/switch/automation.cpp diff --git a/esphome/components/output/automation.cpp b/esphome/components/output/automation.cpp deleted file mode 100644 index 610da897d9..0000000000 --- a/esphome/components/output/automation.cpp +++ /dev/null @@ -1,8 +0,0 @@ -#include "automation.h" -#include "esphome/core/log.h" - -namespace esphome::output { - -static const char *const TAG = "output.automation"; - -} // namespace esphome::output diff --git a/esphome/components/sensor/automation.cpp b/esphome/components/sensor/automation.cpp deleted file mode 100644 index 977719db9b..0000000000 --- a/esphome/components/sensor/automation.cpp +++ /dev/null @@ -1,8 +0,0 @@ -#include "automation.h" -#include "esphome/core/log.h" - -namespace esphome::sensor { - -static const char *const TAG = "sensor.automation"; - -} // namespace esphome::sensor diff --git a/esphome/components/switch/automation.cpp b/esphome/components/switch/automation.cpp deleted file mode 100644 index 9a0221fe56..0000000000 --- a/esphome/components/switch/automation.cpp +++ /dev/null @@ -1,8 +0,0 @@ -#include "automation.h" -#include "esphome/core/log.h" - -namespace esphome::switch_ { - -static const char *const TAG = "switch.automation"; - -} // namespace esphome::switch_