Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix airpurifier_airdog x5 and x7sm to derive from the x3 base class #903

Merged
merged 1 commit into from
Jan 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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