-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
New fan platform airscape #26889
New fan platform airscape #26889
Conversation
Black wants to change the following (only one example, there are several) - except (
- airscape.exceptions.ConnectionError,
- airscape.exceptions.Timeout
- ):
+ except (airscape.exceptions.ConnectionError, airscape.exceptions.Timeout): But if I let
which one wins? |
We only consider and use Black for code formatting and use the 88 char line length that Black uses by default. |
Not sure how I missed the pylint errors in my local tox run but I did. Though it might be a rebase issue so I rebased to dev latest branch ( was still on .99 level now at .100 ) and still get the pylint errors with Also not sure why code coverage is complaining either. I updated |
self._speed = None | ||
self._available = True | ||
self._minimum_speed = minimum | ||
self._speed_list = [f"{i}" for i in range(0, 11)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only speeds available in the base fan component are allowed in the speed list. Try to map as best possible between those and the device speed settings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to wait with continuing here until the architecture issue is resolved? If so please close this PR while waiting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hoping to restart the conversation in the architecture repo. But it doesn't seem like anyone has the bandwidth to deal with this right now. I guess the best thing to do is close this and just move my platform over to a custom component until the architecture issue gets resolved.
Try rebasing on latest dev branch to let the build pass without non related errors. |
I rebased to latest dev branch and I am still get non related errors. |
Looking deeper into my |
Description:
Adding Airscape platform for the fan component to control Airscape Whole House Fans
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#10452
Example entry for
configuration.yaml
(if applicable):Checklist:
tox
. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
by runningpython3 -m script.gen_requirements_all
..coveragerc
.If the code does not interact with devices: