ESPHome
2025.5.0
Loading...
Searching...
No Matches
esphome
components
m5stack_8angle
binary_sensor
m5stack_8angle_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
6
#include "
../m5stack_8angle.h
"
7
8
namespace
esphome
{
9
namespace
m5stack_8angle {
10
11
class
M5Stack8AngleSwitchBinarySensor
:
public
binary_sensor::BinarySensor
,
12
public
PollingComponent
,
13
public
Parented
<M5Stack8AngleComponent> {
14
public
:
15
void
update
()
override
;
16
};
17
18
}
// namespace m5stack_8angle
19
}
// namespace esphome
binary_sensor.h
esphome::Parented
Helper class to easily give an object a parent of type T.
Definition
helpers.h:538
esphome::PollingComponent
This class simplifies creating components that periodically check a state.
Definition
component.h:301
esphome::binary_sensor::BinarySensor
Base class for all binary_sensor-type classes.
Definition
binary_sensor.h:37
esphome::m5stack_8angle::M5Stack8AngleSwitchBinarySensor
Definition
m5stack_8angle_binary_sensor.h:13
esphome::m5stack_8angle::M5Stack8AngleSwitchBinarySensor::update
void update() override
Definition
m5stack_8angle_binary_sensor.cpp:6
component.h
m5stack_8angle.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
Generated by
1.12.0