Fix xiaomi vacuum resume functionality (#22626)

This commit is contained in:
Anna Prosvetova authored and Paulus Schoutsen committed 2019-04-01 10:44:46 -07:00
1 parent 2e02efed10
commit ab2ac60d12
1 file changed
+1 -1
@@ -303,7 +303,7 @@ class MiroboVacuum(StateVacuumDevice):
async def async_start(self):
"""Start or resume the cleaning task."""
await self._try_command(
"Unable to start the vacuum: %s", self._vacuum.start)
"Unable to start the vacuum: %s", self._vacuum.resume_or_start)
async def async_pause(self):
"""Pause the cleaning task."""