From 7cd620d30f442e97d5753e9adecb8ff40aab69e2 Mon Sep 17 00:00:00 2001 From: Andrey <andrey-git@users.noreply.github.com> Date: Tue, 19 Jun 2018 11:30:43 +0300 Subject: [PATCH] Switch upstream adafruit package (#15038) --- homeassistant/components/sensor/dht.py | 5 +---- requirements_all.txt | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/sensor/dht.py b/homeassistant/components/sensor/dht.py index cbf06783dc7..b22e4df9a50 100644 --- a/homeassistant/components/sensor/dht.py +++ b/homeassistant/components/sensor/dht.py @@ -17,10 +17,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit -# Update this requirement to upstream as soon as it supports Python 3. -REQUIREMENTS = ['https://github.com/adafruit/Adafruit_Python_DHT/archive/' - 'da8cddf7fb629c1ef4f046ca44f42523c9cf2d11.zip' - '#Adafruit_DHT==1.3.2'] +REQUIREMENTS = ['Adafruit_Python_DHT==1.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 64bc53d5c89..5a0d4c69f69 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -23,6 +23,9 @@ Adafruit-SHT31==1.0.2 # homeassistant.components.bbb_gpio # Adafruit_BBIO==1.0.0 +# homeassistant.components.sensor.dht +# Adafruit_Python_DHT==1.3.2 + # homeassistant.components.doorbird DoorBirdPy==0.1.3 @@ -426,9 +429,6 @@ http://github.com/tgaugry/suds-passworddigest-py3/archive/86fc50e39b4d2b89974819 # homeassistant.components.remember_the_milk httplib2==0.10.3 -# homeassistant.components.sensor.dht -# https://github.com/adafruit/Adafruit_Python_DHT/archive/da8cddf7fb629c1ef4f046ca44f42523c9cf2d11.zip#Adafruit_DHT==1.3.2 - # homeassistant.components.neato https://github.com/jabesq/pybotvac/archive/v0.0.5.zip#pybotvac==0.0.5 -- GitLab