because I want to choose where he should play the file for me.
my input_select has the names of the media_player entity
input_select:
choose_media_player_plex_widget:
name: Wo soll es abgespielt werden
options:
- media_player.firetv_kueche
- media_player.plex_shield
- media_player.plex_plex_for_android_tv_aftmm_2
initial: media_player.plex_shield
icon: mdi:panda
when i now check if he changes the value of input_select everything is fine, for example actually you see here media_player.firetv_kueche .
but he makes nothing, i get no error, but he dont play anything, when i only enter the direct entity name of the player “media_player.firetv_kueche” it works well, but then i cant choose the source player.
That was impossible to tell as you did not show the card type. And you are using a jinja template when the custom button card only supports JavaScript, like you did for your media_content_id
okay, one problem is still there, i had the input_select and the play button in one popup, when i now change the room (device) in input_select, the value is saved and dont refresh after change the room.
i must close and reopen the popup and then it works.
i tried it with triggers_update: all or triggers_update with the entitie of the input_select
i tried now different cards, in my home page, i added two cards, one entity and one button, in the button i define the input_select.set_options in a tap_action, when i click, the entity card on the same home page, the entity card changes. it WORKS.
BUT when i put the same code in the browser_mod popup, it dont works. he doesnt change the entity, its the same code, i think its a browser:mod bug.