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

This commit is contained in:
J. Nick Koston
2025-11-18 21:46:54 -06:00
parent a72545639d
commit 2d7942e788
84 changed files with 168 additions and 336 deletions
@@ -1,12 +1,10 @@
#include "multi_target_switch.h"
namespace esphome {
namespace ld2450 {
namespace esphome::ld2450 {
void MultiTargetSwitch::write_state(bool state) {
this->publish_state(state);
this->parent_->set_multi_target(state);
}
} // namespace ld2450
} // namespace esphome
} // namespace esphome::ld2450