Add unavailable to Vera (#46064)

This commit is contained in:
Greg Dowling 2021-02-08 14:25:54 +00:00 committed by GitHub
parent b1ffe429cd
commit 8f4ea3818d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 26 additions and 4 deletions

View file

@ -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