Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/roomba/irobot_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def state(self):
state = STATE_MAP[phase]
except KeyError:
return STATE_ERROR
if cycle != "none" and (state == STATE_IDLE or state == STATE_DOCKED):
if cycle != "none" and state in (STATE_IDLE, STATE_DOCKED):
state = STATE_PAUSED
return state

Expand Down