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:** diff --git a/blinkpy/helpers/constants.py b/blinkpy/helpers/constants.py index 4a7db36f..afbe8675 100644 --- a/blinkpy/helpers/constants.py +++ b/blinkpy/helpers/constants.py @@ -4,7 +4,7 @@ MAJOR_VERSION = 0 MINOR_VERSION = 13 -PATCH_VERSION = 0 +PATCH_VERSION = 1 __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):