diff --git a/components/ratgdo/ratgdo_child.h b/components/ratgdo/ratgdo_child.h index 6cea72a..4637e88 100644 --- a/components/ratgdo/ratgdo_child.h +++ b/components/ratgdo/ratgdo_child.h @@ -13,11 +13,11 @@ namespace ratgdo { class RATGDOClient : public Parented { public: - virtual void on_door_state(esphome::ratgdo::DoorState state) = 0; - virtual void on_light_state(esphome::ratgdo::LightState state) = 0; - virtual void on_lock_state(esphome::ratgdo::LockState state) = 0; - virtual void on_motion_state(esphome::ratgdo::MotionState state) = 0; - virtual void on_obstruction_state(esphome::ratgdo::ObstructionState state) = 0; + void on_door_state(esphome::ratgdo::DoorState state) = 0; + void on_light_state(esphome::ratgdo::LightState state) = 0; + void on_lock_state(esphome::ratgdo::LockState state) = 0; + void on_motion_state(esphome::ratgdo::MotionState state) = 0; + void on_obstruction_state(esphome::ratgdo::ObstructionState state) = 0; protected: friend RATGDOComponent;