1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-13 00:32:20 +01:00
Files
esphome/esphome/components/status/status_binary_sensor.h

21 lines
440 B
C++

#pragma once
#include "esphome/core/component.h"
#include "esphome/components/binary_sensor/binary_sensor.h"
namespace esphome {
namespace status {
class StatusBinarySensor : public binary_sensor::BinarySensor, public Component {
public:
void loop() override;
void setup() override;
void dump_config() override;
bool is_status_binary_sensor() const override { return true; }
};
} // namespace status
} // namespace esphome