Running Tasks in Parallel so actions performed at the same time help

@jazzyisj

so like this:
NOTE: the two parallel actions run sequentially, then within the first parallel action the kitchen lights run sequentially but in parallel with the study?

alias: Testtest
description: ""
trigger:
  - platform: state
    entity_id:
      - switch.aiden_bathroom
    to: "on"
condition: []
action:
  - parallel:
      - sequence:
          - service: light.turn_on
            data: {}
            target:
              entity_id: light.kitchen_downlights
          - service: light.turn_on
            data: {}
            target:
              entity_id: light.kitchen_chandelier
      - service: light.turn_on
        data: {}
        target:
          entity_id: light.study
  - parallel:
      - service: notify.mobile_app_pixel_6a
        data:
          title: TEST!
          message: TEST Pressed!
          data:
            priority: high
            channel: doorbell
mode: single
1 Like