Files
esphome-dev/esphome/components/seeed_mr24hpc1/switch/underlyFuc_switch.h
T
2024-03-12 16:33:40 +13:00

19 lines
398 B
C++

#pragma once
#include "esphome/components/switch/switch.h"
#include "../seeed_mr24hpc1.h"
namespace esphome {
namespace seeed_mr24hpc1 {
class UnderlyOpenFunctionSwitch : public switch_::Switch, public Parented<MR24HPC1Component> {
public:
UnderlyOpenFunctionSwitch() = default;
protected:
void write_state(bool state) override;
};
} // namespace seeed_mr24hpc1
} // namespace esphome