Source_select doesn't work anymore Heos soundbar

a few months ago i made a script to change the source of mij Denon Heos soundbar tot HDMI Arc.
for several months it worked perfectly but after a recent update of HA, it doesn’t work anymore.
i tried the source_select with entity and with device but with both, it doesn’t work.
in the same script i change the volume of the soundbar, that still works.
can someone tell what to do to make it work?

this is my script:
alias: change_soundbar_input
sequence:

  • service: media_player.select_source
    data:
    source: HDMI Arc
    target:
    entity_id: media_player.woonkamer
  • service: media_player.volume_set
    data:
    volume_level: 0.31
    target:
    entity_id: media_player.woonkamer
    mode: single

When the script runs, are you getting any error messages in the logs? What does the trace show?

i don’t get any errors in the log.
this is what the trace shows:

params:

params:
  domain: media_player
  service: select_source
  service_data:
    source: HDMI Arc
    entity_id:
      - media_player.woonkamer
  target:
    entity_id:
      - media_player.woonkamer
running_script: false

Interesting… I found an old bug on this from 2021, but it has long since been fixed. I know there are others with the HEOS, so I’ll have to defer to them.