I am on 2026.4.1 and just noticed something in a script that may have been introduced in an earlier update. It seems to be a UI thing and the script runs fine as it always has.
I noticed this red flag:-
which relates to the following YAML:-
- action: media_player.volume_set
data:
entity_id: "{{ mplayer }}"
volume_level: 0
mplayer is a variable I calculate, it works perfectly and as far as I recall, caused no red flags when I first created the script some months ago as this:-
so no errors showing there and as I said, it works fine. As does this later action:-
- action: media_player.play_media
target:
entity_id: "{{ mplayer }}"
data:
media:
media_content_id: "{{ station }}"
media_content_type: radio
which produces no red flags:-

It just looks to me like the UI is slightly out of step with the ability to template the entity_id here, which works but the UI doesn’t seem to know this and I’m pretty sure there was no red flag when setting up this script, so something seems a bit mixed up.

