Simple media_player script

Hi,

I have a Yamaha AVR. With HASS I want to turn it on and select the correct audio/video source
In configuration I have something like this

media_player:
  - platform: yamaha
    host: 192.168.0.10
    source_ignore:
      - "AUX"
      - "HDMI6"
    source_names:
      HDMI1: "ChromeCast"
      AV4: "Vinyl"

which would be a simple script to turn on the AVR and put a specific source ?

Check this thread, 2nd post down look at the action part. I have a Yamaha AVR too.

Have a look at the @ih8gates thread linked at the end, it’s where I found my answers.

1 Like