mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 11:29:46 +00:00
Improve entity type hints [b] (#77012)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user