Fix xiaomi vacuum resume functionality (#22626)
This commit is contained in:
parent
2e02efed10
commit
ab2ac60d12
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue