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:
parent
2e02efed10
commit
ab2ac60d12
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user