[text_sensor] Use C++17 nested namespace syntax (#14243)

This commit is contained in:
J. Nick Koston
2026-02-23 20:49:35 -05:00
committed by GitHub
parent 63c1496115
commit 500aa7bf1d
5 changed files with 10 additions and 20 deletions
@@ -4,8 +4,7 @@
#include "esphome/core/log.h"
#include <cstring>
namespace esphome {
namespace text_sensor {
namespace esphome::text_sensor {
static const char *const TAG = "text_sensor";
@@ -125,5 +124,4 @@ void TextSensor::notify_frontend_() {
#endif
}
} // namespace text_sensor
} // namespace esphome
} // namespace esphome::text_sensor