Need Help structuring this 'automation'

The goal is to have a ‘virtual switch’ that can be turned on and it

  • Programs the Amplifiers input to multiple outputs
  • Turns on the output of a media server
  • Plays the media server

Amplifier is JUKE
Media Player is OwnTone

I have a switch configured in ’ switches.yaml’

- platform: template
  switches:
    records_powertoggle:
      value_template: "{% if is_state('media_player.forked_daapd_output_juke2', 'on') %}on{% else %}off{% endif %}"
      turn_on:
        service: media_player.turn_on
        data:
          entity_id: media_player.forked_daapd_output_juke2
#        service: automation.trigger
#        data:
#          entity_id: automation.new_automation_2
      turn_off:
        service: media_player.turn_off
        data:
          entity_id: media_player.forked_daapd_output_juke2
- platform: template
  switches:
    records_skip:
      value_template: "{% if is_state('media_player.forked_daapd_output_juke2', 'on') %}on{% else %}off{% endif %}"
      turn_on:
        service: media_player.media_next_track
        data:
          entity_id: media_player.forked_daapd_server
      turn_off:
        service: media_player.media_next_track
        data:
          entity_id: media_player.forked_daapd_server

They work.

I a set of SET of REST configured for the JUKE, and I can call the service, and they react correctly.

I thought I could set a ‘scene’ that had a set of services in it to configure the Amplifier, but that needs entities or devices. An Automation needs a TRIGGER.

Do I create a new ‘switch’ with the set of REST commands an call it ‘House_Audio_Set’, then create a Scene with the three switches in it;

  • records_powertoggle [sets the output of the media player]
  • records_play [calls the play of the media player]
  • House_Audio_Set [set the input and outputs of the Amp]

Is there a better way?