dealing with new unknown event status, deployed as 0.0.13

get_list_of_videos
Mark Cotton 2023-08-15 11:18:13 -05:00
parent c4c14bc770
commit 8489c1a481
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
""" Python client for Eagle Eye Networks APIv3 """
version = "0.0.12"
version = "0.0.13"
__version__ = version
@ -832,7 +832,8 @@ class Device():
if 'connectionStatus' in self.status:
return self.status['connectionStatus'] == "deviceOffline" \
or self.status['connectionStatus'] == "bridgeOffline" \
or self.status['connectionStatus'] == "error"
or self.status['connectionStatus'] == "error" \
or self.status['connectionStatus'] == "unknown"
return None
def __repr__(self):