Yamaha MusicCast source selection - question to musiccast owners

I am thinking to buy Musiccast stereo and wonder what kind of sources I can select in HA?
Can I setup different internet radio stations, NAS DLNA etc?

1 Like

I was able to come up with a script to just run a net_radio source on my musiccast devices. Iā€™m still not sure how to enable specific radio station.

media_player.kuchnia and .lazienka are my Musiccast speakers discovered via MusicCast integration.

play_radio:
  alias: Play Radio
  sequence:
  - service: media_player.turn_on
    target:
      entity_id:
      - media_player.kuchnia
      - media_player.lazienka
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
  - service: media_player.select_source
    data:
      source: net_radio
    target:
      entity_id: media_player.kuchnia
  - service: media_player.volume_set
    data:
      volume_level: 0.2
    target:
      entity_id:
      - media_player.kuchnia
      - media_player.lazienka
  - delay:
      hours: 0
      minutes: 0
      seconds: 15
      milliseconds: 0
  - service: media_player.volume_set
    data:
      volume_level: 0.36
    target:
      entity_id:
      - media_player.kuchnia
      - media_player.lazienka
  mode: single
  icon: mdi:radio