dealing with new unknown event status, deployed as 0.0.13
parent
c4c14bc770
commit
8489c1a481
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue