ESPHome 2025.12.3
Loading...
Searching...
No Matches
bluetooth_switch.cpp
Go to the documentation of this file.
1#include "bluetooth_switch.h"
2
3namespace esphome::ld2410 {
4
6 this->publish_state(state);
7 this->parent_->set_bluetooth(state);
8}
9
10} // namespace esphome::ld2410
void write_state(bool state) override
void publish_state(bool state)
Publish a state to the front-end from the back-end.
Definition switch.cpp:57
bool state
Definition fan.h:0