Skip to content

Commit

Permalink
🧹 improve for vacuum (#1810)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaliev authored Aug 16, 2024
1 parent 8ad8310 commit 04d23b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_miot/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def state(self):
return STATE_CLEANING
elif val in self._prop_status.list_search('Idle', 'Sleep'):
return STATE_IDLE
elif val in self._prop_status.list_search('Charging', 'Charging Completed', 'Fullcharge', 'Drying'):
elif val in self._prop_status.list_search('Charging', 'Charging Completed', 'Fullcharge', 'Charge Done', 'Drying'):
return STATE_DOCKED
elif val in self._prop_status.list_search('Go Charging'):
return STATE_RETURNING
Expand Down

0 comments on commit 04d23b5

Please sign in to comment.