Triggering several actions with one button

Hello everybody,

after some years using iobroker, i set up a new homeassistant these days. Now i am stuck with the task to create a single button card, which should trigger three service calls.

Background: I want to trigger the Nuki opener for the gate, 5 seconds later, the opener for the house door should be triggered. At the same time, the lock to my apartment door should open the door, if closed.

I know, how to set up a lock button and trigger one of these actions, but how can i set this scenario to a single button?

Thank you very much in advance for your help.

All the triggers in a automation will trigger the action in the automation. I’m not sure what you’re trying to do if its different than that. Do you want the triggers to trigger different things?

alias: Test
description: ''
mode: single
trigger:
  - platform: state
    entity_id:
      - cover.garage
    to: open
condition: []
action:
  - service: cover.open_cover
    data: {}
  - delay:
      hours: 0
      minutes: 0
      seconds: 5
      milliseconds: 0
  - parallel:
      - service: lock.unlock
        data: {}
      - service: lock.unlock
        data: {}

Use a script for the actions you want with delays in-between if you want and then call the script via service with your desired button.

That script is basically only the action part of an automation and you will be the trigger.

And welcome to the forums!