ESPHome
2024.11.0
esphome
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
esphome::m5stack_8angle::M5Stack8AngleSwitchBinarySensor
Definition:
m5stack_8angle_binary_sensor.h:11
esphome::m5stack_8angle::M5Stack8AngleSwitchBinarySensor::update
void update() override
Definition:
m5stack_8angle_binary_sensor.cpp:6
esphome::PollingComponent
This class simplifies creating components that periodically check a state.
Definition:
component.h:283
binary_sensor.h
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
esphome::binary_sensor::BinarySensor
Base class for all binary_sensor-type classes.
Definition:
binary_sensor.h:37
esphome::Parented
Helper class to easily give an object a parent of type T.
Definition:
helpers.h:522
Generated by
1.8.13