Yaml delay code

i have made an automation for an external media player. including a volume setting. Between turning on the media player and the volume setting i want to add a delay. Which Yaml code do i need for this.

Hi Ronald, you don’t need YAML for that.
In the automation, add an action and select/type delay.