From 1117371b31083424da2be070d96ac8f56f48e490 Mon Sep 17 00:00:00 2001
From: Andrey <andrey-git@users.noreply.github.com>
Date: Sun, 17 Jun 2018 14:05:25 +0300
Subject: [PATCH] Switch to own packaged version of anel_pwrctrl (#15011)

---
 homeassistant/components/switch/anel_pwrctrl.py | 4 +---
 requirements_all.txt                            | 6 +++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/homeassistant/components/switch/anel_pwrctrl.py b/homeassistant/components/switch/anel_pwrctrl.py
index 9144222e5c7..30739676f17 100644
--- a/homeassistant/components/switch/anel_pwrctrl.py
+++ b/homeassistant/components/switch/anel_pwrctrl.py
@@ -15,9 +15,7 @@ from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA)
 from homeassistant.const import (CONF_HOST, CONF_PASSWORD, CONF_USERNAME)
 from homeassistant.util import Throttle
 
-REQUIREMENTS = ['https://github.com/mweinelt/anel-pwrctrl/archive/'
-                'ed26e8830e28a2bfa4260a9002db23ce3e7e63d7.zip'
-                '#anel_pwrctrl==0.0.1']
+REQUIREMENTS = ['anel_pwrctrl-homeassistant==0.0.1.dev2']
 
 _LOGGER = logging.getLogger(__name__)
 
diff --git a/requirements_all.txt b/requirements_all.txt
index d860112c7f8..fd8332878eb 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -115,6 +115,9 @@ alpha_vantage==2.0.0
 # homeassistant.components.amcrest
 amcrest==1.2.3
 
+# homeassistant.components.switch.anel_pwrctrl
+anel_pwrctrl-homeassistant==0.0.1.dev2
+
 # homeassistant.components.media_player.anthemav
 anthemav==1.1.8
 
@@ -427,9 +430,6 @@ https://github.com/aparraga/braviarc/archive/0.3.7.zip#braviarc==0.3.7
 # homeassistant.components.neato
 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.sensor.gtfs
 https://github.com/robbiet480/pygtfs/archive/00546724e4bbcb3053110d844ca44e2246267dd8.zip#pygtfs==0.1.3
 
-- 
GitLab