OK it sounds like a good idea, but could you help me with the input select by putting in your code and I’ll replace it with my devices? Cause I tried but I couldn’t get it to work. And also if it’s possible to get the code for input select for the music please?
Here is my code for the card but, the scripts do not work, I can choose them in the list but it does not change when I select another one, the same for the other speakers I have only Terrace which works.
media_content_id: '{% if is_state(“input_select.amazon_selection”, “playlist Pop Urbaine Validée”)
%} playlist Pop Urbaine Validée {% elif is_state(“input_select.amazon_selection”, “playlist La Crème Rap Français”)
%} playlist La Crème Rap Français {% elif is_state(“input_select.amazon_selection”, “playlist Les hits Pop urbaine”)
%} playlist Les hits Pop urbaine {% elif is_state(“input_select.amazon_selection”, “playlist Les hits Pop”)
%} playlist Les hits Pop {% elif is_state(“input_select.amazon_selection”, “playlist Les dernières nouvautés”)
%} playlist Les dernières nouvautés
{% endif %}
Okay, thanks for your help, but it’s not working for me. I think I must have a mistake in one of my files. If you see anything weird, let me know. Thank you so much for your help.
Part of the issue is you may not be copying the code correctly but we can’t tell since your’e not using quoting. The spacing is important with yaml. Please make sure you quote your code using triple ` on its own line before and after.
Hi, good it’s good everything works perfectly, on the other hand, I have an echo that doesn’t update in the playlist, i.e. when the music starts, its state doesn’t change and so I can’t pause or play, on the other speakers no problem, these are also echoes.
Myself I made different scripts for different stations.
So my input select will run the correct script.
Maybe better ways are possible? but I use this for now.
I’ve never seen that screen before so would need logs and the html page to figure out the proper way to respond. Are you using app to add the integration? Please reference the issue fork workarounds and how to submit logs.