Enable strict typing for doorbird (#98778)

This commit is contained in:
J. Nick Koston 2023-08-21 15:22:25 -05:00 committed by GitHub
parent d0d160f11c
commit d582e60a6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 44 additions and 14 deletions

View file

@ -87,7 +87,7 @@ class DoorBirdCamera(DoorBirdEntity, Camera):
self._last_update = datetime.datetime.min
self._attr_unique_id = f"{self._mac_addr}_{camera_id}"
async def stream_source(self):
async def stream_source(self) -> str | None:
"""Return the stream source."""
return self._stream_url