[sensor] Use C++17 nested namespace syntax (#13116)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2026-01-10 21:42:35 -05:00
1 parent f2eb61a767
commit e34532f283
6 files changed
+12 -24

No files matched your search

+2 -4
View File
@@ -3,8 +3,7 @@
#include "esphome/core/controller_registry.h"
#include "esphome/core/log.h"
namespace esphome {
namespace sensor {
namespace esphome::sensor {
static const char *const TAG = "sensor";
@@ -135,5 +134,4 @@ void Sensor::internal_send_state_to_frontend(float state) {
#endif
}
} // namespace sensor
} // namespace esphome
} // namespace esphome::sensor