def METHOD_NAME(self, signal):
    if signal == "hardware_object_name,stateChanged":
        self.motor_state_changed()
    elif signal == "position_changed":
        self.motor_position_changed()
    elif signal == "limitsChanged":
        self.distance_min_changed()
    self.set_is_ready(True)