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

Make zhimi.fan.za5 compatible to model autodetection #1276

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

syssi
Copy link
Collaborator

@syssi syssi commented Dec 27, 2021

@@ -680,8 +680,7 @@ def __init__(
lazy_discover: bool = True,
model: str = MODEL_FAN_ZA5,
) -> None:
super().__init__(ip, token, start_id, debug, lazy_discover)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, why not simply remove the whole constructor as it's not doing anything besides calling the base class one?

@rytilahti
Copy link
Owner

Is this still relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Xiaomi Fan stopped working after HA upgrade to 2021.12.x
2 participants