[binary_sensor] Modernize to C++17 nested namespaces and remove redundant qualifications (#11929)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-11-16 04:21:06 +00:00
1 parent fc546ca3f6
commit ea2b4c3e25
6 files changed
+18 -37

No files matched your search

@@ -3,9 +3,7 @@
#include "esphome/core/controller_registry.h"
#include "esphome/core/log.h"
namespace esphome {
namespace binary_sensor {
namespace esphome::binary_sensor {
static const char *const TAG = "binary_sensor";
@@ -63,6 +61,4 @@ void BinarySensor::add_filters(std::initializer_list<Filter *> filters) {
}
bool BinarySensor::is_status_binary_sensor() const { return false; }
} // namespace binary_sensor
} // namespace esphome
} // namespace esphome::binary_sensor