Sequences contain arrays, the sequence is of importance here. Again
action:
alias:
condition:
id:
trigger:
This is the result of an automation created by the UI automation editor. It stores the keys in alphabetical order, as it is of no importance. Hence
automation:
action:
- service: notify.notify
data:
message: "Testing conditional actions"
- service: scene.turn_on
target:
entity_id: scene.office_at_evening
the child items of action: element form an array, an ordered, indexed list of items and order is of importance. Again, using
- service: notify.notify
data:
message: "Testing conditional actions"
or
- data:
message: "Testing conditional actions"
service: notify.notify
is equally valid.