script:
  hdmi_switch_1:
    alias: HDMI Swtich · Set to 1
    sequence:
      - service: mqtt.publish
        data:
          topic: cmnd/ir_blaster_1/IRSend
          payload: '{ "Protocol": "NEC", "Bits": 32, "Data": "0x807FD827" }'

  hdmi_switch_2:
    alias: HDMI Swtich · Set to 2
    sequence:
      - service: mqtt.publish
        data:
          topic: cmnd/ir_blaster_1/IRSend
          payload: '{ "Protocol": "NEC", "Bits": 32, "Data": "0x807F7887" }'

  hdmi_switch_3:
    alias: HDMI Swtich · Set to 3
    sequence:
      - service: mqtt.publish
        data:
          topic: cmnd/ir_blaster_1/IRSend
          payload: '{ "Protocol": "NEC", "Bits": 32, "Data": "0x807FB04F" }'

  hdmi_switch_4:
    alias: HDMI Swtich · Set to 4
    sequence:
      - service: mqtt.publish
        data:
          topic: cmnd/ir_blaster_1/IRSend
          payload: '{ "Protocol": "NEC", "Bits": 32, "Data": "0x807F48B7" }'

  hdmi_switch_5:
    alias: HDMI Swtich · Set to 5
    sequence:
      - service: mqtt.publish
        data:
          topic: cmnd/ir_blaster_1/IRSend
          payload: '{ "Protocol": "NEC", "Bits": 32, "Data": "0x807F08F7" }'

  hdmi_switch_next:
    alias: HDMI Swtich · Next
    sequence:
      - service: mqtt.publish
        data:
          topic: cmnd/ir_blaster_1/IRSend
          payload: '{ "Protocol": "NEC", "Bits": 32, "Data": "0x807F30CF" }'

  hdmi_switch_prev:
    alias: HDMI Swtich · Prev
    sequence:
      - service: mqtt.publish
        data:
          topic: cmnd/ir_blaster_1/IRSend
          payload: '{ "Protocol": "NEC", "Bits": 32, "Data": "0x807FA05F" }'

  hdmi_switch_on:
    alias: HDMI Swtich · On
    sequence:
      - service: mqtt.publish
        data:
          topic: cmnd/ir_blaster_1/IRSend
          payload: '{ "Protocol": "NEC", "Bits": 32, "Data": "0x807F3AC5" }'

  hdmi_switch_off:
    alias: HDMI Swtich · Off
    sequence:
      - service: mqtt.publish
        data:
          topic: cmnd/ir_blaster_1/IRSend
          payload: '{ "Protocol": "NEC", "Bits": 32, "Data": "0x807FF807" }'
