This commit is contained in:
J. Nick Koston 2023-06-09 18:07:11 -05:00
parent 2737134735
commit d54ab219cf
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ namespace ratgdo {
void RATGDOClient::on_motor_state(MotorState state) {}; void RATGDOClient::on_motor_state(MotorState state) {};
void RATGDOClient::on_rolling_code_change(uint32_t rollingCodeCounter) {}; void RATGDOClient::on_rolling_code_change(uint32_t rollingCodeCounter) {};
void RATGDOClient::on_openings_change(uint32_t openings) {}; void RATGDOClient::on_openings_change(uint32_t openings) {};
void RATGDOClient::on_button_state(ButtonState state) {};
} // namespace ratgdo } // namespace ratgdo
} // namespace esphome } // namespace esphome

View File

@ -21,6 +21,7 @@ namespace ratgdo {
virtual void on_motor_state(MotorState state); virtual void on_motor_state(MotorState state);
virtual void on_rolling_code_change(uint32_t rollingCodeCounter); virtual void on_rolling_code_change(uint32_t rollingCodeCounter);
virtual void on_openings_change(uint32_t openings); virtual void on_openings_change(uint32_t openings);
virtual void on_button_state(ButtonState state);
protected: protected:
friend RATGDOComponent; friend RATGDOComponent;