From c482d48fdecf1b7448e83adb2225696826e3dc17 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 4 Aug 2018 15:21:11 +0200 Subject: [PATCH 1/4] Bump frontend to 20180804.0 --- homeassistant/components/frontend/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index 1d2e363d574..540341c68f2 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -26,7 +26,7 @@ from homeassistant.helpers.translation import async_get_translations from homeassistant.loader import bind_hass from homeassistant.util.yaml import load_yaml -REQUIREMENTS = ['home-assistant-frontend==20180803.0'] +REQUIREMENTS = ['home-assistant-frontend==20180804.0'] DOMAIN = 'frontend' DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log', From b110a80fbd875e86ec06d78931cad6d561f9d164 Mon Sep 17 00:00:00 2001 From: superpuffin <35958013+superpuffin@users.noreply.github.com> Date: Mon, 30 Jul 2018 16:15:13 +0200 Subject: [PATCH 2/4] Upgrade Adafruit-DHT to 1.3.3 (#15706) * Change to newer pip package The package Adafruit_Python_DHT==1.3.2 was broken and would not install, breaking DHT sensor support in Home assistant. It has since been fixed in Adafruit-DHT==1.3.3. See: https://github.com/adafruit/Adafruit_Python_DHT/issues/99 * Update requirements_all.txt New or updated dependencies have been added to `requirements_all.txt` by running `script/gen_requirements_all.py`. * Comment out Adafruit-DHT Adafruit_Python_DHT changed name to Adafruit-DHT, which still need pyx support breaking our CI, need to be comment out. * Update requirements_all.txt --- homeassistant/components/sensor/dht.py | 2 +- requirements_all.txt | 6 +++--- script/gen_requirements_all.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/sensor/dht.py b/homeassistant/components/sensor/dht.py index 6770594b919..e3aaf2f8484 100644 --- a/homeassistant/components/sensor/dht.py +++ b/homeassistant/components/sensor/dht.py @@ -17,7 +17,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['Adafruit_Python_DHT==1.3.2'] +REQUIREMENTS = ['Adafruit-DHT==1.3.3'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 17cc02352b3..b5870c413f6 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -14,6 +14,9 @@ voluptuous==0.11.3 # homeassistant.components.nuimo_controller --only-binary=all nuimo==0.1.0 +# homeassistant.components.sensor.dht +# Adafruit-DHT==1.3.3 + # homeassistant.components.sensor.sht31 Adafruit-GPIO==1.0.3 @@ -23,9 +26,6 @@ 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 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index d92502de078..28c96e737ff 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -11,7 +11,7 @@ COMMENT_REQUIREMENTS = ( 'RPi.GPIO', 'raspihats', 'rpi-rf', - 'Adafruit_Python_DHT', + 'Adafruit-DHT', 'Adafruit_BBIO', 'fritzconnection', 'pybluez', From 5015071816c328d4801d936f8926aae35ba6bca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B8yer=20Iversen?= Date: Sat, 4 Aug 2018 15:23:57 +0200 Subject: [PATCH 3/4] Fix rfxtrx device id matching (#15819) * Issue #15773 Fix PT2262 devices are incorrectly matched in rfxtrx component * style --- homeassistant/components/rfxtrx.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/rfxtrx.py b/homeassistant/components/rfxtrx.py index afe777ff7cc..60dbb209039 100644 --- a/homeassistant/components/rfxtrx.py +++ b/homeassistant/components/rfxtrx.py @@ -166,6 +166,7 @@ def get_pt2262_device(device_id): """Look for the device which id matches the given device_id parameter.""" for device in RFX_DEVICES.values(): if (hasattr(device, 'is_lighting4') and + device.masked_id is not None and device.masked_id == get_pt2262_deviceid(device_id, device.data_bits)): _LOGGER.debug("rfxtrx: found matching device %s for %s", From ef5095cf53103aa8c3ea4880b6f231e07e8cb178 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 4 Aug 2018 15:24:44 +0200 Subject: [PATCH 4/4] Bumped version to 0.75.1 --- homeassistant/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/const.py b/homeassistant/const.py index 6df2fa6afad..a1ee4038a6a 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -2,7 +2,7 @@ """Constants used by Home Assistant components.""" MAJOR_VERSION = 0 MINOR_VERSION = 75 -PATCH_VERSION = '0' +PATCH_VERSION = '1' __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) REQUIRED_PYTHON_VER = (3, 5, 3)