ESPHome
2026.8.0b4
Loading...
Searching...
No Matches
esphome
components
hoermann_hcp
binary_sensor
hoermann_hcp_binary_sensor.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/components/binary_sensor/binary_sensor.h
"
4
#include "
esphome/core/component.h
"
5
#include "
../hoermann_hcp.h
"
6
7
namespace
esphome::hoermann_hcp
{
8
9
class
HoermannHcpConnectedBinarySensor
:
public
binary_sensor::BinarySensor
,
public
Component
{
10
public
:
11
explicit
HoermannHcpConnectedBinarySensor
(
HoermannHcp
*parent) :
parent_
(parent) {}
12
13
void
setup
()
override
;
14
void
dump_config
()
override
;
15
16
protected
:
17
HoermannHcp
*
const
parent_
;
18
};
19
20
}
// namespace esphome::hoermann_hcp
binary_sensor.h
esphome::Component
Definition
component.h:145
esphome::binary_sensor::BinarySensor
Base class for all binary_sensor-type classes.
Definition
binary_sensor.h:33
esphome::hoermann_hcp::HoermannHcpConnectedBinarySensor
Definition
hoermann_hcp_binary_sensor.h:9
esphome::hoermann_hcp::HoermannHcpConnectedBinarySensor::dump_config
void dump_config() override
Definition
hoermann_hcp_binary_sensor.cpp:16
esphome::hoermann_hcp::HoermannHcpConnectedBinarySensor::parent_
HoermannHcp *const parent_
Definition
hoermann_hcp_binary_sensor.h:17
esphome::hoermann_hcp::HoermannHcpConnectedBinarySensor::HoermannHcpConnectedBinarySensor
HoermannHcpConnectedBinarySensor(HoermannHcp *parent)
Definition
hoermann_hcp_binary_sensor.h:11
esphome::hoermann_hcp::HoermannHcpConnectedBinarySensor::setup
void setup() override
Definition
hoermann_hcp_binary_sensor.cpp:9
esphome::hoermann_hcp::HoermannHcp
Definition
hoermann_hcp.h:36
component.h
hoermann_hcp.h
esphome::hoermann_hcp
Definition
hoermann_hcp_binary_sensor.cpp:5
Generated by
1.12.0