From 419eb51b6651c9c04b2a9d2f52ad88da10793c35 Mon Sep 17 00:00:00 2001 From: Kevin Fronczak Date: Fri, 1 Mar 2019 21:06:12 -0500 Subject: [PATCH 1/4] Dev version bump --- blinkpy/helpers/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blinkpy/helpers/constants.py b/blinkpy/helpers/constants.py index 4a7db36f..f880239e 100644 --- a/blinkpy/helpers/constants.py +++ b/blinkpy/helpers/constants.py @@ -3,8 +3,8 @@ import os MAJOR_VERSION = 0 -MINOR_VERSION = 13 -PATCH_VERSION = 0 +MINOR_VERSION = 14 +PATCH_VERSION = '0.dev0' __version__ = '{}.{}.{}'.format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION) From 57b05daad7c3af7582bd8f558d81e1cc23ac0aec Mon Sep 17 00:00:00 2001 From: Kevin Fronczak Date: Fri, 1 Mar 2019 21:40:27 -0500 Subject: [PATCH 2/4] Remove throttle from network_status --- blinkpy/helpers/constants.py | 4 ++-- blinkpy/sync_module.py | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/blinkpy/helpers/constants.py b/blinkpy/helpers/constants.py index f880239e..585d5a1e 100644 --- a/blinkpy/helpers/constants.py +++ b/blinkpy/helpers/constants.py @@ -3,8 +3,8 @@ import os MAJOR_VERSION = 0 -MINOR_VERSION = 14 -PATCH_VERSION = '0.dev0' +MINOR_VERSION = 13 +PATCH_VERSION = '1.dev0' __version__ = '{}.{}.{}'.format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION) diff --git a/blinkpy/sync_module.py b/blinkpy/sync_module.py index 01e88fc5..51d4607e 100644 --- a/blinkpy/sync_module.py +++ b/blinkpy/sync_module.py @@ -64,7 +64,10 @@ def online(self): @property def arm(self): """Return status of sync module: armed/disarmed.""" - return self.network_info['network']['armed'] + try: + return self.network_info['network']['armed'] + except (KeyError, TypeError): + return None @arm.setter def arm(self, value): From d629d9fa3a81551090f8945c4b79de49e8ba83d8 Mon Sep 17 00:00:00 2001 From: Kevin Fronczak Date: Fri, 1 Mar 2019 21:50:36 -0500 Subject: [PATCH 3/4] Update CHANGES.rst --- CHANGES.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 1149fd09..92fa0e23 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,6 +3,10 @@ Changelog A list of changes between each release +0.13.1 (2019-03-01) +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +- Remove throttle decorator from network status request + 0.13.0 (2019-03-01) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ **Breaking change:** From 5511af6244a8af4bf4870eba611715da309e704d Mon Sep 17 00:00:00 2001 From: Kevin Fronczak Date: Fri, 1 Mar 2019 21:51:03 -0500 Subject: [PATCH 4/4] Version bump --- blinkpy/helpers/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blinkpy/helpers/constants.py b/blinkpy/helpers/constants.py index 585d5a1e..afbe8675 100644 --- a/blinkpy/helpers/constants.py +++ b/blinkpy/helpers/constants.py @@ -4,7 +4,7 @@ MAJOR_VERSION = 0 MINOR_VERSION = 13 -PATCH_VERSION = '1.dev0' +PATCH_VERSION = 1 __version__ = '{}.{}.{}'.format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION)