Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Adding RETURNING to ATTR_STATUS #1
Browse files Browse the repository at this point in the history
  • Loading branch information
trunneml committed May 15, 2021
1 parent 30291b7 commit 230fca0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ def status(self) -> str | None:
status = self._cleaning_status()
elif self.state == STATE_PAUSED:
status = "Paused"
elif self.state == STATE_RETURNING:
status = "Returning"

return status

Expand Down
2 changes: 1 addition & 1 deletion const.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
ROBOT_ACTION_SUSPENDED_CLEANING,
ROBOT_ACTION_MAP_CLEANING,
ROBOT_ACTION_EXPLORING_MAP,
ROBOT_ACTION_SUSPENDED_EXPLORATION
ROBOT_ACTION_SUSPENDED_EXPLORATION,
]

ACTION = {
Expand Down

0 comments on commit 230fca0

Please sign in to comment.