ESPHome
2026.6.0-dev
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::m5stack_8angle
{
9
10
class
M5Stack8AngleSwitchBinarySensor
:
public
binary_sensor::BinarySensor
,
11
public
PollingComponent
,
12
public
Parented
<M5Stack8AngleComponent> {
13
public
:
14
void
update
()
override
;
15
};
16
17
}
// namespace esphome::m5stack_8angle
binary_sensor.h
esphome::Parented
Helper class to easily give an object a parent of type T.
Definition
helpers.h:1861
esphome::PollingComponent
This class simplifies creating components that periodically check a state.
Definition
component.h:585
esphome::binary_sensor::BinarySensor
Base class for all binary_sensor-type classes.
Definition
binary_sensor.h:33
esphome::m5stack_8angle::M5Stack8AngleSwitchBinarySensor
Definition
m5stack_8angle_binary_sensor.h:12
esphome::m5stack_8angle::M5Stack8AngleSwitchBinarySensor::update
void update() override
Definition
m5stack_8angle_binary_sensor.cpp:5
component.h
m5stack_8angle.h
esphome::m5stack_8angle
Definition
m5stack_8angle_binary_sensor.cpp:3
Generated by
1.12.0