ESPHome  2024.11.0
status_binary_sensor.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace esphome {
7 namespace status {
8 
10  public:
11  void loop() override;
12 
13  void setup() override;
14  void dump_config() override;
15 
16  float get_setup_priority() const override { return setup_priority::DATA; }
17 
18  bool is_status_binary_sensor() const override { return true; }
19 };
20 
21 } // namespace status
22 } // namespace esphome
const float DATA
For components that import data from directly connected sensors like DHT.
Definition: component.cpp:19
uint8_t status
Definition: bl0942.h:74
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
Base class for all binary_sensor-type classes.
Definition: binary_sensor.h:37
bool is_status_binary_sensor() const override