Move switch to boot action

Hi all

I currently have an IR command that works as a switch in HA. I’d like to move this so it fires once when the ESP8266 boots, so is no longer triggered by a HA action, but just arbitrarily fired when the ESP starts. Is there any easy way to do this?

  - platform: template
    name: Panasonic Soundbar Toggle
    turn_on_action:
      remote_transmitter.transmit_panasonic:
        address: 0x4004
        command: 0x0500BCB9
        repeat: 5

Look for the on_boot trigger.