Skip to content

Commit

Permalink
Fix airpurifier_airdog x5 and x7sm to derive from the x3 base class (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti authored Jan 10, 2021
1 parent 29feacb commit 49c3916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miio/airpurifier_airdog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -227,7 +227,7 @@ def __init__(
self.model = MODEL_AIRDOG_X5


class AirDogX7SM(Device):
class AirDogX7SM(AirDogX3):
def __init__(
self,
ip: str = None,
Expand Down

0 comments on commit 49c3916

Please sign in to comment.