Remove coordinator success from SimpliSafe availability calculation (#42180)
This commit is contained in:
parent
db0cd34b24
commit
1ea103f090
1 changed files with 1 additions and 5 deletions
|
@ -622,11 +622,7 @@ class SimpliSafeEntity(CoordinatorEntity):
|
||||||
# the entity as available if:
|
# the entity as available if:
|
||||||
# 1. We can verify that the system is online (assuming True if we can't)
|
# 1. We can verify that the system is online (assuming True if we can't)
|
||||||
# 2. We can verify that the entity is online
|
# 2. We can verify that the entity is online
|
||||||
return (
|
return not (self._system.version == 3 and self._system.offline) and self._online
|
||||||
self.coordinator.last_update_success
|
|
||||||
and not (self._system.version == 3 and self._system.offline)
|
|
||||||
and self._online
|
|
||||||
)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def device_info(self):
|
def device_info(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue