[light] Modernize namespace declarations to C++17 syntax

This commit is contained in:
J. Nick Koston
2025-11-18 21:07:13 -06:00
parent a72545639d
commit ecaa3f9f71
27 changed files with 54 additions and 108 deletions

View File

@@ -5,8 +5,7 @@
#include "light_output.h"
#include "transformers.h"
namespace esphome {
namespace light {
namespace esphome::light {
static const char *const TAG = "light";
@@ -304,5 +303,4 @@ void LightState::save_remote_values_() {
this->rtc_.save(&saved);
}
} // namespace light
} // namespace esphome
} // namespace esphome::light