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