Skip to content

Commit cf2bb37

Browse files
authored
Update cli.py
Use get_home_data_v3 to discovered Roborock Q10 devices
1 parent 36f5f2b commit cf2bb37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roborock/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def _discover(ctx):
128128
if not login_data:
129129
raise Exception("You need to login first")
130130
client = RoborockApiClient(login_data.email)
131-
home_data = await client.get_home_data(login_data.user_data)
131+
home_data = await client.get_home_data_v3(login_data.user_data)
132132
login_data.home_data = home_data
133133
context.update(login_data)
134134
click.echo(f"Discovered devices {', '.join([device.name for device in home_data.get_all_devices()])}")

0 commit comments

Comments
 (0)