ESPHome  2024.12.2
m5stack_8angle_binary_sensor.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 #include "../m5stack_8angle.h"
7 
8 namespace esphome {
9 namespace m5stack_8angle {
10 
12  public PollingComponent,
13  public Parented<M5Stack8AngleComponent> {
14  public:
15  void update() override;
16 };
17 
18 } // namespace m5stack_8angle
19 } // namespace esphome
This class simplifies creating components that periodically check a state.
Definition: component.h:283
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
Base class for all binary_sensor-type classes.
Definition: binary_sensor.h:37
Helper class to easily give an object a parent of type T.
Definition: helpers.h:530