Skip to content

Commit

Permalink
fix (async_turn_off) Turn OFF method
Browse files Browse the repository at this point in the history
  • Loading branch information
jalcaras authored and jalcaras committed Aug 10, 2023
1 parent 693fd42 commit 2538f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/weback_vacuum/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ async def async_stop(self, **kwargs):
async def async_turn_off(self, **kwargs):
"""Turn the vacuum off stopping the cleaning and returning home."""
_LOGGER.debug("Vacuum: async_turn_off")
self.return_to_base()
await self.device.return_to_base()

async def async_return_to_base(self, **kwargs):
"""Set the vacuum cleaner to return to the dock."""
Expand Down

0 comments on commit 2538f7e

Please sign in to comment.