ESPHome  2024.11.1
underlyFuc_switch.cpp
Go to the documentation of this file.
1 #include "underlyFuc_switch.h"
2 
3 namespace esphome {
4 namespace seeed_mr24hpc1 {
5 
7  this->publish_state(state);
8  this->parent_->set_underlying_open_function(state);
9 }
10 
11 } // namespace seeed_mr24hpc1
12 } // namespace esphome
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
void publish_state(bool state)
Publish a state to the front-end from the back-end.
Definition: switch.cpp:47
bool state
Definition: fan.h:34