[switch] Use C++17 nested namespace syntax (#14241)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2026-02-23 20:49:15 -05:00
1 parent 30cc51eac9
commit 843d06df3f
6 files changed
+16 -28

No files matched your search

+2 -4
View File
@@ -1,10 +1,8 @@
#include "automation.h"
#include "esphome/core/log.h"
namespace esphome {
namespace switch_ {
namespace esphome::switch_ {
static const char *const TAG = "switch.automation";
} // namespace switch_
} // namespace esphome
} // namespace esphome::switch_