Fix missing f from f-strings in cast integration (#40144)

pull/40151/head
Franck Nijhof 2020-09-16 17:04:57 +02:00 committed by GitHub
parent 2b7e735e3d
commit 540b925659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -375,9 +375,9 @@ class CastDevice(MediaPlayerEntity):
if tts_base_url and media_status.content_id.startswith(tts_base_url):
url_description = f" from tts.base_url ({tts_base_url})"
if external_url and media_status.content_id.startswith(external_url):
url_description = " from external_url ({external_url})"
url_description = f" from external_url ({external_url})"
if internal_url and media_status.content_id.startswith(internal_url):
url_description = " from internal_url ({internal_url})"
url_description = f" from internal_url ({internal_url})"
_LOGGER.error(
"Failed to cast media %s%s. Please make sure the URL is: "