ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
switch_binary_sensor.h
Go to the documentation of this file.
1#pragma once
2
3#include "../switch.h"
6
7namespace esphome::switch_ {
8
10 public:
11 void set_source(Switch *source) { source_ = source; }
12 void setup() override;
13 void dump_config() override;
14
15 protected:
17};
18
19} // namespace esphome::switch_
Base class for all binary_sensor-type classes.
Base class for all switches.
Definition switch.h:38