cancel
Showing results for 
Search instead for 
Did you mean: 

YAML commands are not executed sequentially

Jontas
Community Member

It doesn't execute the commands sequentially; instead, it takes the two okGoogle command first and broadcast command last. Why is it not interpreted sequentially?

metadata:
name: Wake up
description: Daily

automations:
starters:
- type: time.schedule
at: 06:00 # HH:MM
weekdays:
- MON
- TUE
- WED
- THU
- FRI
- SAT
- SUN

actions:
- type: device.command.SetVolume
volumeLevel: 35
devices: My Google Nest

- type: assistant.command.Broadcast
devices: My Google Nest
message: Good morning, time to wake up.

- type: assistant.command.OkGoogle
okGoogle: Tell me about the weather in [my city]?
devices: My Google Nest

- type: assistant.command.OkGoogle
okGoogle: Do I have any events in my calendar today?
devices: My Google Nest
0 REPLIES 0