Karl Hudgell преди 6 месеца
родител
ревизия
a409794c46
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lib/home_assistant.py

+ 1 - 1
lib/home_assistant.py

@@ -109,7 +109,7 @@ def play_radio():
     media_player = create_client().get_domain("media_player")
     media_player.play_media(
         entity_id="media_player.ytube_music_player",
-        media_content_id='{{state_attr("media_player.ytube_music_player","videoId") }}',
+        media_content_id='\{\{state_attr("media_player.ytube_music_player","videoId") \}\}',
         media_content_type="vid_channel",
     )