mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 12:43:28 +02:00
952ccf554b
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
13 lines
222 B
C++
13 lines
222 B
C++
#include "rf_switch.h"
|
|
|
|
namespace esphome {
|
|
namespace at581x {
|
|
|
|
void RFSwitch::write_state(bool state) {
|
|
this->publish_state(state);
|
|
this->parent_->set_rf_mode(state);
|
|
}
|
|
|
|
} // namespace at581x
|
|
} // namespace esphome
|