Bond - Make assumed state conditional (#38209)
This commit is contained in:
parent
e6e3517a94
commit
02e2c40c48
4 changed files with 60 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue