mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00: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):
|
async def async_start(self):
|
||||||
"""Start or resume the cleaning task."""
|
"""Start or resume the cleaning task."""
|
||||||
await self._try_command(
|
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):
|
async def async_pause(self):
|
||||||
"""Pause the cleaning task."""
|
"""Pause the cleaning task."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user