You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
364 B
17 lines
364 B
#pragma once
|
|
|
|
#include "esphome/core/component.h"
|
|
#include "esphome/components/switch/switch.h"
|
|
|
|
namespace esphome {
|
|
namespace empty_switch {
|
|
|
|
class EmptySwitch : public switch_::Switch, public Component {
|
|
public:
|
|
void setup() override;
|
|
void write_state(bool state) override;
|
|
void dump_config() override;
|
|
};
|
|
|
|
} //namespace empty_switch
|
|
} //namespace esphome
|