mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-23 06:08:30 +02:00
4bbde8357a
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Peter Pan <twinkle-pirate@hotmail.com>
13 lines
280 B
C++
13 lines
280 B
C++
#include "underlyFuc_switch.h"
|
|
|
|
namespace esphome {
|
|
namespace seeed_mr24hpc1 {
|
|
|
|
void UnderlyOpenFunctionSwitch::write_state(bool state) {
|
|
this->publish_state(state);
|
|
this->parent_->set_underlying_open_function(state);
|
|
}
|
|
|
|
} // namespace seeed_mr24hpc1
|
|
} // namespace esphome
|