Denon AV Receiver - Cannot select source

I have a Denon AVR X1100W that can be controlled via Home Assistant. However, I cannot select sources with the following action:

  action:
    - service: media_player.select_source
      entity_id: media_player.denon_avr_x1100w
      source: Sonos

I can change sources in the frontend, so something seems to be wrong with my action.

I tried it with the default source name “CBL/SAT” as well as with the renamed one, “Sonos”, which also appears in the Home Assistant frontend.

Any idea?

Because it’s not formatted correctly…

    - service: media_player.select_source
      data:
        entity_id: media_player.denon_avr_x1100w
        source: Sonos
2 Likes

Thanks, that was the issue.

Please mark it solved.