Skip to content

Commit 4860ebf

Browse files
Fix mqtt commands timeout
1 parent c0436a7 commit 4860ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roborock/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def _get_payload(
200200
secured=False,
201201
):
202202
timestamp = math.floor(time.time())
203-
request_id = randint(10000, 99999)
203+
request_id = randint(10000, 32767)
204204
inner = {
205205
"id": request_id,
206206
"method": method,

0 commit comments

Comments
 (0)