Skip to content

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

Open
syssi wants to merge 1 commit into
rytilahti:masterfrom
syssi:fix-fan-za5
Open

Make zhimi.fan.za5 compatible to model autodetection#1276
syssi wants to merge 1 commit into
rytilahti:masterfrom
syssi:fix-fan-za5

Conversation

@syssi

@syssi syssi commented Dec 27, 2021

Copy link
Copy Markdown
Collaborator

Comment thread miio/fan_miot.py
lazy_discover: bool = True,
model: str = MODEL_FAN_ZA5,
) -> None:
super().__init__(ip, token, start_id, debug, lazy_discover)

Copy link
Copy Markdown
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
Copy Markdown
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