mirror of
https://github.com/esphome/esphome.git
synced 2026-10-03 09:46:03 +00:00
[ld24xx] Modernize namespace declarations to C++17 syntax
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user