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",
     )