Files
esphome/esphome/components/status/status_binary_sensor.h
T

19 lines
429 B
C++

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