ESPHome 2025.9.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 {
8namespace switch_ {
9
11 public:
12 void set_source(Switch *source) { source_ = source; }
13 void setup() override;
14 void dump_config() override;
15
16 protected:
18};
19
20} // namespace switch_
21} // namespace esphome
Base class for all binary_sensor-type classes.
Base class for all switches.
Definition switch.h:39
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7