Improve entity type hints [b] (#77012)
This commit is contained in:
parent
dd109839b9
commit
dedf063e43
21 changed files with 73 additions and 59 deletions
|
@ -69,7 +69,7 @@ class BlinkBinarySensor(BinarySensorEntity):
|
|||
model=self._camera.camera_type,
|
||||
)
|
||||
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Update sensor state."""
|
||||
self.data.refresh()
|
||||
state = self._camera.attributes[self.entity_description.key]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue