mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-26 07:38:30 +02:00
952ccf554b
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
16 lines
304 B
C++
16 lines
304 B
C++
#pragma once
|
|
|
|
#include "esphome/components/switch/switch.h"
|
|
#include "../at581x.h"
|
|
|
|
namespace esphome {
|
|
namespace at581x {
|
|
|
|
class RFSwitch : public switch_::Switch, public Parented<AT581XComponent> {
|
|
protected:
|
|
void write_state(bool state) override;
|
|
};
|
|
|
|
} // namespace at581x
|
|
} // namespace esphome
|