Update ruff to v0.0.280 (#97102)

This commit is contained in:
Franck Nijhof 2023-07-23 22:00:26 +02:00 committed by GitHub
parent bdd253328d
commit 86708b5590
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 25 additions and 60 deletions

View file

@ -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