This commit is contained in:
J. Nick Koston 2023-06-07 11:16:40 -05:00
parent 653a050a05
commit 4f0166e357
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View File

@ -7,6 +7,8 @@
namespace esphome {
namespace ratgdo {
using namespace esphome::binary_sensor;
static const char *const TAG = "ratgdo.binary_sensor";
class RATGDOBinarySensor {
@ -14,9 +16,6 @@ void dump_config() {
LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this);
}
void setup() {
this->publish_internal_state(false);
}
void on_door_state(esphome::ratgdo::DoorState state) {}
void on_light_state(esphome::ratgdo::LightState state) {}
void on_lock_state(esphome::ratgdo::LockState state) {}

View File

@ -11,7 +11,6 @@ namespace ratgdo {
class RATGDOBinarySensor : public binary_sensor::BinarySensor, public RATGDOClient, public Component {
public:
void setup() override;
void dump_config() override;
void on_door_state(esphome::ratgdo::DoorState state) override;