From b62c3ac56ca62c581c8028e2ec033dbfc0b37e08 Mon Sep 17 00:00:00 2001 From: Roi Dayan Date: Sun, 21 Aug 2016 01:41:58 +0300 Subject: [PATCH] Update dht sensor dependency Adafruit_DHT to v1.3.0 (#2900) The repository already merged the pull request adding python3 support. root is no longer required to use the gpio. Signed-off-by: Roi Dayan --- homeassistant/components/sensor/dht.py | 6 +++--- requirements_all.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/sensor/dht.py b/homeassistant/components/sensor/dht.py index 170c63a2620..df0cb4d3b69 100644 --- a/homeassistant/components/sensor/dht.py +++ b/homeassistant/components/sensor/dht.py @@ -13,9 +13,9 @@ 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 = ['http://github.com/mala-zaba/Adafruit_Python_DHT/archive/' - '4101340de8d2457dd194bca1e8d11cbfc237e919.zip' - '#Adafruit_DHT==1.1.0'] +REQUIREMENTS = ['http://github.com/adafruit/Adafruit_Python_DHT/archive/' + '310c59b0293354d07d94375f1365f7b9b9110c7d.zip' + '#Adafruit_DHT==1.3.0'] _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/requirements_all.txt b/requirements_all.txt index 5b346816455..4ac074448a4 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -113,7 +113,7 @@ heatmiserV3==0.9.1 hikvision==0.4 # homeassistant.components.sensor.dht -# http://github.com/mala-zaba/Adafruit_Python_DHT/archive/4101340de8d2457dd194bca1e8d11cbfc237e919.zip#Adafruit_DHT==1.1.0 +# http://github.com/adafruit/Adafruit_Python_DHT/archive/310c59b0293354d07d94375f1365f7b9b9110c7d.zip#Adafruit_DHT==1.3.0 # homeassistant.components.light.flux_led https://github.com/Danielhiversen/flux_led/archive/0.6.zip#flux_led==0.6