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