Bond - Make assumed state conditional (#38209)
This commit is contained in:
1 parent
e6e3517a94
commit
02e2c40c48
4 files changed
+60
-3
No files matched your search
@@ -46,7 +46,7 @@ class BondEntity(Entity):
|
||||
@property
|
||||
def assumed_state(self) -> bool:
|
||||
"""Let HA know this entity relies on an assumed state tracked by Bond."""
|
||||
return True
|
||||
return self._hub.is_bridge and not self._device.trust_state
|
||||
|
||||
@property
|
||||
def available(self) -> bool:
|
||||
|
||||
Reference in new issue
Block a user