mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Update ruff to v0.0.280 (#97102)
This commit is contained in:
@@ -200,9 +200,7 @@ class NetatmoCamera(NetatmoBase, Camera):
|
||||
await self._camera.async_update_camera_urls()
|
||||
|
||||
if self._camera.local_url:
|
||||
return "{}/live/files/{}/index.m3u8".format(
|
||||
self._camera.local_url, self._quality
|
||||
)
|
||||
return f"{self._camera.local_url}/live/files/{self._quality}/index.m3u8"
|
||||
return f"{self._camera.vpn_url}/live/files/{self._quality}/index.m3u8"
|
||||
|
||||
@callback
|
||||
|
||||
Reference in New Issue
Block a user