Add unavailable to Vera (#46064)
This commit is contained in:
parent
b1ffe429cd
commit
8f4ea3818d
15 changed files with 26 additions and 4 deletions
|
@ -50,4 +50,5 @@ class VeraBinarySensor(VeraDevice[veraApi.VeraBinarySensor], BinarySensorEntity)
|
|||
|
||||
def update(self) -> None:
|
||||
"""Get the latest data and update the state."""
|
||||
super().update()
|
||||
self._state = self.vera_device.is_tripped
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue