1
mirror of https://github.com/home-assistant/core synced 2024-07-27 18:58:57 +02:00

Fix xiaomi vacuum resume functionality (#22626)

This commit is contained in:
Anna Prosvetova 2019-04-01 20:44:46 +03:00 committed by Paulus Schoutsen
parent 2e02efed10
commit ab2ac60d12

View File

@ -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."""