From 019933a4eed922ba15320224235f61bf941951d8 Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Mon, 28 Nov 2022 08:27:15 +0100 Subject: [PATCH] Fix inconsistent ctor signature for roborock --- miio/integrations/vacuum/roborock/vacuum.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/miio/integrations/vacuum/roborock/vacuum.py b/miio/integrations/vacuum/roborock/vacuum.py index 6b4831408..c66f7e9ed 100644 --- a/miio/integrations/vacuum/roborock/vacuum.py +++ b/miio/integrations/vacuum/roborock/vacuum.py @@ -126,10 +126,14 @@ def __init__( token: str = None, start_id: int = 0, debug: int = 0, + lazy_discover: bool = True, + timeout: int = None, *, model=None, ): - super().__init__(ip, token, start_id, debug, model=model) + super().__init__( + ip, token, start_id, debug, lazy_discover, timeout, model=model + ) self.manual_seqnum = -1 @command()