esphome/esphome/components/status/status_binary_sensor.h
Otto Winter aa7389432e
Fixes
2019-05-24 16:34:01 +02:00

22 lines
518 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;
float get_setup_priority() const override { return setup_priority::DATA; }
bool is_status_binary_sensor() const override { return true; }
};
} // namespace status
} // namespace esphome