Adding RETURNING to ATTR_STATUS #1

This commit is contained in:
Michael Graf 2021-05-15 20:34:10 +02:00
parent 30291b7337
commit 230fca0f6f
2 changed files with 3 additions and 1 deletions

View File

@ -279,6 +279,8 @@ class VorwerkState:
status = self._cleaning_status()
elif self.state == STATE_PAUSED:
status = "Paused"
elif self.state == STATE_RETURNING:
status = "Returning"
return status

View File

@ -54,7 +54,7 @@ ROBOT_CLEANING_ACTIONS = [
ROBOT_ACTION_SUSPENDED_CLEANING,
ROBOT_ACTION_MAP_CLEANING,
ROBOT_ACTION_EXPLORING_MAP,
ROBOT_ACTION_SUSPENDED_EXPLORATION
ROBOT_ACTION_SUSPENDED_EXPLORATION,
]
ACTION = {