From 6fa8c2afe579728220532e30adb932d9eaee8f4e Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 21 Sep 2017 21:18:43 -0700 Subject: [PATCH 1/4] Version bump to 0.54 --- homeassistant/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/const.py b/homeassistant/const.py index 1a92f0d68c9..7d5c501c426 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -2,7 +2,7 @@ """Constants used by Home Assistant components.""" MAJOR_VERSION = 0 MINOR_VERSION = 54 -PATCH_VERSION = '0.dev0' +PATCH_VERSION = '0' __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) REQUIRED_PYTHON_VER = (3, 4, 2) From a3a73b418ae43bffc0074bd171d867a30c1264f6 Mon Sep 17 00:00:00 2001 From: Mister Wil <1091741+MisterWil@users.noreply.github.com> Date: Fri, 22 Sep 2017 13:37:16 -0700 Subject: [PATCH 2/4] Update AbodePy to 0.11.8 (#9537) * Update requirements_all.txt * Update abode.py --- homeassistant/components/abode.py | 2 +- requirements_all.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/abode.py b/homeassistant/components/abode.py index 73c4756477b..fe35d7b1b8b 100644 --- a/homeassistant/components/abode.py +++ b/homeassistant/components/abode.py @@ -21,7 +21,7 @@ from homeassistant.const import (ATTR_ATTRIBUTION, ATTR_DATE, ATTR_TIME, EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START) -REQUIREMENTS = ['abodepy==0.11.7'] +REQUIREMENTS = ['abodepy==0.11.8'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index d87abe0de66..b29e2442af8 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -45,7 +45,7 @@ SoCo==0.12 TwitterAPI==2.4.6 # homeassistant.components.abode -abodepy==0.11.7 +abodepy==0.11.8 # homeassistant.components.device_tracker.automatic aioautomatic==0.6.3 From 7da8cb225f888dff91cda466258b3d68fe1029da Mon Sep 17 00:00:00 2001 From: happyleavesaoc Date: Sat, 23 Sep 2017 00:53:16 -0400 Subject: [PATCH 3/4] update usps (#9540) * update usps * fix syntax issue --- homeassistant/components/camera/usps.py | 2 +- homeassistant/components/sensor/usps.py | 6 +++--- homeassistant/components/usps.py | 2 +- requirements_all.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/camera/usps.py b/homeassistant/components/camera/usps.py index 545ea9798de..6c76d0d66d8 100644 --- a/homeassistant/components/camera/usps.py +++ b/homeassistant/components/camera/usps.py @@ -77,7 +77,7 @@ class USPSCamera(Camera): def model(self): """Return date of mail as model.""" try: - return 'Date: {}'.format(self._usps.mail[0]['date']) + return 'Date: {}'.format(str(self._usps.mail[0]['date'])) except IndexError: return None diff --git a/homeassistant/components/sensor/usps.py b/homeassistant/components/sensor/usps.py index 322c27e2f37..cf7378186f4 100644 --- a/homeassistant/components/sensor/usps.py +++ b/homeassistant/components/sensor/usps.py @@ -11,7 +11,7 @@ from homeassistant.components.usps import DATA_USPS from homeassistant.const import ATTR_ATTRIBUTION, ATTR_DATE from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -from homeassistant.util.dt import now, parse_datetime +from homeassistant.util.dt import now _LOGGER = logging.getLogger(__name__) @@ -57,7 +57,7 @@ class USPSPackageSensor(Entity): for package in self._usps.packages: status = slugify(package['primary_status']) if status == STATUS_DELIVERED and \ - parse_datetime(package['date']).date() < now().date(): + package['date'] < now().date(): continue status_counts[status] += 1 self._attributes = { @@ -116,7 +116,7 @@ class USPSMailSensor(Entity): attr = {} attr[ATTR_ATTRIBUTION] = self._usps.attribution try: - attr[ATTR_DATE] = self._usps.mail[0]['date'] + attr[ATTR_DATE] = str(self._usps.mail[0]['date']) except IndexError: pass return attr diff --git a/homeassistant/components/usps.py b/homeassistant/components/usps.py index fdafbbc3587..21a2700cd5c 100644 --- a/homeassistant/components/usps.py +++ b/homeassistant/components/usps.py @@ -15,7 +15,7 @@ from homeassistant.helpers import (config_validation as cv, discovery) from homeassistant.util import Throttle from homeassistant.util.dt import now -REQUIREMENTS = ['myusps==1.1.3'] +REQUIREMENTS = ['myusps==1.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index b29e2442af8..62d9cc4189b 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -428,7 +428,7 @@ mutagen==1.38 mycroftapi==2.0 # homeassistant.components.usps -myusps==1.1.3 +myusps==1.2.1 # homeassistant.components.media_player.nad # homeassistant.components.media_player.nadtcp From 283cd80a7ff080cf26835cd09640cd6ff069a742 Mon Sep 17 00:00:00 2001 From: Alok Saboo Date: Fri, 22 Sep 2017 22:00:35 -0400 Subject: [PATCH 4/4] Bump python_openzwave to 0.4.0.35 (#9542) * Bump python_openzwave to 0.4.0.35 * Cleanup --- homeassistant/components/zwave/__init__.py | 2 +- requirements_all.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/zwave/__init__.py b/homeassistant/components/zwave/__init__.py index c88c55e258f..0e6e41c63a5 100755 --- a/homeassistant/components/zwave/__init__.py +++ b/homeassistant/components/zwave/__init__.py @@ -35,7 +35,7 @@ from . import workaround from .discovery_schemas import DISCOVERY_SCHEMAS from .util import check_node_schema, check_value_schema, node_name -REQUIREMENTS = ['pydispatcher==2.0.5', 'python_openzwave==0.4.0.31'] +REQUIREMENTS = ['pydispatcher==2.0.5', 'python_openzwave==0.4.0.35'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 62d9cc4189b..0e1976e89aa 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -806,7 +806,7 @@ python-wink==1.5.1 python_opendata_transport==0.0.2 # homeassistant.components.zwave -python_openzwave==0.4.0.31 +python_openzwave==0.4.0.35 # homeassistant.components.alarm_control_panel.egardia pythonegardia==1.0.20