Mute TV for specified duration

Hey all, this is probably pretty simple but i haven’t been able to figure out exactly how to accomplish this. I have a switch for muting the TV which works via the Broadlink RM Mini. What I’m trying to accomplish is a button that will send the mute command, then wait 2 minutes, then send it again to un-mute. Any hints or points in the right direction would be appreciated, thank you!

The action in your script will mute the tv. Wait 2 mins. Unmute the tv.

Check the script syntax, especially delay.

Something along the lines

trigger:
  ...
action:
  - service: switch.turn_off
    data:
      entity_id: your_switch
  - delay: '00:02:00'
  - service: switch.turn_on
    data:
      entity_id: your_switch