From d54ab219cfaab77e73c910964170f9bdb4b49382 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 9 Jun 2023 18:07:11 -0500 Subject: [PATCH] button --- components/ratgdo/ratgdo_child.cpp | 1 + components/ratgdo/ratgdo_child.h | 1 + 2 files changed, 2 insertions(+) diff --git a/components/ratgdo/ratgdo_child.cpp b/components/ratgdo/ratgdo_child.cpp index 3c3e633..ef179d1 100644 --- a/components/ratgdo/ratgdo_child.cpp +++ b/components/ratgdo/ratgdo_child.cpp @@ -14,6 +14,7 @@ namespace ratgdo { void RATGDOClient::on_motor_state(MotorState state) {}; void RATGDOClient::on_rolling_code_change(uint32_t rollingCodeCounter) {}; void RATGDOClient::on_openings_change(uint32_t openings) {}; + void RATGDOClient::on_button_state(ButtonState state) {}; } // namespace ratgdo } // namespace esphome diff --git a/components/ratgdo/ratgdo_child.h b/components/ratgdo/ratgdo_child.h index f826c37..81baa0f 100644 --- a/components/ratgdo/ratgdo_child.h +++ b/components/ratgdo/ratgdo_child.h @@ -21,6 +21,7 @@ namespace ratgdo { virtual void on_motor_state(MotorState state); virtual void on_rolling_code_change(uint32_t rollingCodeCounter); virtual void on_openings_change(uint32_t openings); + virtual void on_button_state(ButtonState state); protected: friend RATGDOComponent;