mirror of
https://github.com/home-assistant/core.git
synced 2025-11-16 22:40:44 +00:00
Await startup in homekit controller (#75021)
This commit is contained in:
@@ -25,7 +25,7 @@ class HomeKitCamera(AccessoryEntity, Camera):
|
||||
self, width: int | None = None, height: int | None = None
|
||||
) -> bytes | None:
|
||||
"""Return a jpeg with the current camera snapshot."""
|
||||
return await self._accessory.pairing.image(
|
||||
return await self._accessory.pairing.image( # type: ignore[attr-defined]
|
||||
self._aid,
|
||||
width or 640,
|
||||
height or 480,
|
||||
|
||||
Reference in New Issue
Block a user