ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
copy_binary_sensor.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace esphome::copy {
7
9 SUB_BINARY_SENSOR(source)
10
11 public:
12 void setup() override;
13 void dump_config() override;
14};
15
16} // namespace esphome::copy
virtual void setup()
Where the component's initialization should happen.
Definition component.cpp:84
Base class for all binary_sensor-type classes.