ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
underlyFuc_switch.h
Go to the documentation of this file.
1#pragma once
2
4#include "../seeed_mr24hpc1.h"
5
7
8class UnderlyOpenFunctionSwitch : public switch_::Switch, public Parented<MR24HPC1Component> {
9 public:
11
12 protected:
13 void write_state(bool state) override;
14};
15
16} // namespace esphome::seeed_mr24hpc1
Helper class to easily give an object a parent of type T.
Definition helpers.h:1861
Base class for all switches.
Definition switch.h:38
bool state
The current reported state of the binary sensor.
Definition switch.h:55