[template] Use C++17 nested namespace syntax (#12346)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-12-07 15:09:25 -06:00
1 parent f015130f2e
commit 3d5d89ff00
35 files changed
+70 -140

No files matched your search

@@ -1,8 +1,7 @@
#include "template_switch.h"
#include "esphome/core/log.h"
namespace esphome {
namespace template_ {
namespace esphome::template_ {
static const char *const TAG = "template.switch";
@@ -57,5 +56,4 @@ void TemplateSwitch::dump_config() {
}
void TemplateSwitch::set_assumed_state(bool assumed_state) { this->assumed_state_ = assumed_state; }
} // namespace template_
} // namespace esphome
} // namespace esphome::template_