if pins.door_locked:
return StateMachine.StateZu(self.state_machine)
def handle_cmd_unlock_event(self,callback):
- callback("409 conflict: The server is currently trying to lock the door. Try again later.")
+ callback("409 conflict: The sphinx is currently trying to lock the door. Try again later.")
def could_not_close(self):
logger.critical("StateMachine: Couldn't close door after %d tries. Going back to StateAboutToOpen." % CLOSE_REPEAT_NUMBER)
return StateMachine.StateAboutToOpen(self.state_machine)