custom_components/nea_sg_weather/camera.py
def camera_image(
        self, width: int | None = None, height: int | None = None
    ) -> bytes | None:
        """Return bytes of camera image."""
        return asyncio.run_coroutine_threadsafe(
            self.async_camera_image(), self.hass.loop
        ).result()
Return bytes of camera image.
Return bytes of camera image.
Return bytes of camera image .
def camera_image(
        self, width: int | None = None, height: int | None = None
    ) -> bytes | None:
        return asyncio.run_coroutine_threadsafe(
            self.async_camera_image(), self.hass.loop
        ).result()
def camera_image ( self , width : int | None = None , height : int | None = None ) -> bytes | None : return asyncio . run_coroutine_threadsafe ( self . async_camera_image ( ) , self . hass . loop ) . result ( )
Return bytes of camera image.
Return bytes of camera image .
"""Return bytes of camera image."""
self
width
int | None
height
int | None