-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
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 Edimax new firmware auth error and move to pyedimax fork #12873
Conversation
Hi @andreipop2005, It seems you haven't yet signed a CLA. Please do so here. Once you do that we will be able to review and accept this pull request. Thanks! |
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.
If you have tried to ask to original package maintainer to update the package and publish to pypi, but the maintainer is unresponsive for a resonable waiting period, it's ok to make a fork and publish that on pypi under a different name.
@@ -13,8 +13,8 @@ | |||
CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_USERNAME) | |||
import homeassistant.helpers.config_validation as cv | |||
|
|||
REQUIREMENTS = ['https://github.com/rkabadi/pyedimax/archive/' | |||
'365301ce3ff26129a7910c501ead09ea625f3700.zip#pyedimax==0.1'] | |||
REQUIREMENTS = ['https://github.com/andreipop2005/pyedimax/archive/' |
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.
Home assistant requirements need to be published to pypi since a while.
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.
Original package maintainer did not respond to comments/messages/etc since August last year, although I really tried to make my fix pulled, but no response.
I will publish the change to pypi.
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.
Done.
Did you run |
All should be ok now. |
requirements_test_all.txt
Outdated
@@ -129,6 +129,9 @@ py-canary==0.4.1 | |||
# homeassistant.components.zwave | |||
pydispatcher==2.0.5 | |||
|
|||
# homeassistant.components.switch.edimax | |||
pyedimax==0.1 |
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.
This should not be added to this file as there are no tests for this platform.
script/gen_requirements_all.py
Outdated
@@ -66,6 +66,7 @@ | |||
'pushbullet.py', | |||
'py-canary', | |||
'pydispatcher', | |||
'pyedimax', |
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.
Remove this.
Done |
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.
Thanks!
Description:
This fixes the authentication error for Edimax switches. I solved it a while ago, the fix is trivial, but the original repository is no longer maintained. I forked it and fixed the issue, then changed the requirements for home assistant.
Related issue (if applicable): fixes #9339
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Checklist:
If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
tox
run successfully. Your PR cannot be merged unless tests passREQUIREMENTS
variable ([example][ex-requir]).requirements_all.txt
by runningscript/gen_requirements_all.py
..coveragerc
.If the code does not interact with devices:
tox
run successfully. Your PR cannot be merged unless tests pass