From c900260846c191e1c6ceaf2657228ddd29632d21 Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Thu, 7 Jan 2021 20:04:52 +0100 Subject: [PATCH] Fix airpurifier_airdog x5 and x7sm to derive from the x3 base class --- miio/airpurifier_airdog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miio/airpurifier_airdog.py b/miio/airpurifier_airdog.py index 2f4f66d82..4b62b0346 100644 --- a/miio/airpurifier_airdog.py +++ b/miio/airpurifier_airdog.py @@ -209,7 +209,7 @@ def set_filters_cleaned(self): return self.send("set_clean") -class AirDogX5(Device): +class AirDogX5(AirDogX3): def __init__( self, ip: str = None, @@ -227,7 +227,7 @@ def __init__( self.model = MODEL_AIRDOG_X5 -class AirDogX7SM(Device): +class AirDogX7SM(AirDogX3): def __init__( self, ip: str = None,