Closed
Description
To simplify the map handling, you could probably add this lines to vacuum.py:
@command()
def get_recover_maps(self):
"""Get recover maps."""
return self.send("get_recover_maps")
@command(
click.argument("id"),
click.argument("map"),
)
def recover_map(self, id: int, map: int):
"""Set recover maps ."""
payload = [int(id), int(map)]
click.echo("Setting the map %s as active" % payload)
return self.send("recover_map", payload)[0]
is working fine with my Roborock S6
please se PR: https://github.com/rytilahti/python-miio/pull/608
Metadata
Metadata
Assignees
Labels
No labels