From 81ba666db791328acacad2047aeeab92f92cb918 Mon Sep 17 00:00:00 2001 From: Andrei Pop Date: Sun, 4 Mar 2018 21:36:38 +0200 Subject: [PATCH] Fix Edimax new firmware auth error and move to pyedimax fork (#12873) * Fixed Edimax switch authentication error for newer firmware. * pyedimax moved to pypi * Added pyedimax to gen_requirements_all.py * Cleanup --- homeassistant/components/switch/edimax.py | 3 +-- requirements_all.txt | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/switch/edimax.py b/homeassistant/components/switch/edimax.py index d4b02749c1b..50b5ba93b85 100644 --- a/homeassistant/components/switch/edimax.py +++ b/homeassistant/components/switch/edimax.py @@ -13,8 +13,7 @@ from homeassistant.const import ( 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 = ['pyedimax==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 0491c4705f5..2fce3ab0c24 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -385,9 +385,6 @@ https://github.com/jabesq/pybotvac/archive/v0.0.5.zip#pybotvac==0.0.5 # homeassistant.components.switch.anel_pwrctrl https://github.com/mweinelt/anel-pwrctrl/archive/ed26e8830e28a2bfa4260a9002db23ce3e7e63d7.zip#anel_pwrctrl==0.0.1 -# homeassistant.components.switch.edimax -https://github.com/rkabadi/pyedimax/archive/365301ce3ff26129a7910c501ead09ea625f3700.zip#pyedimax==0.1 - # homeassistant.components.sensor.gtfs https://github.com/robbiet480/pygtfs/archive/00546724e4bbcb3053110d844ca44e2246267dd8.zip#pygtfs==0.1.3 @@ -714,6 +711,9 @@ pyebox==0.1.0 # homeassistant.components.climate.econet pyeconet==0.0.5 +# homeassistant.components.switch.edimax +pyedimax==0.1 + # homeassistant.components.eight_sleep pyeight==0.0.7