Hi all,
I’m trying to build an automation that uses call service to create a snapshot scene, activate a different scene, and then call the snapshot scene. My automation won’t call the second scene, what have I missed?
alias: Time to Disarm the Alarm
description: ""
trigger:
- platform: mqtt
topic: >-
ring/alarm/state
payload: pending
id: "1"
- platform: mqtt
topic: >-
ring/alarm/state
payload: disarmed
id: "2"
condition:
- condition: trigger
id:
- "1"
- "2"
action:
- choose:
- conditions:
- condition: trigger
id:
- "1"
sequence:
- service: scene.create
data:
scene_id: alarm_disarm_previous
snapshot_entities: light.bar light.kitchen_island
- delay:
hours: 0
minutes: 0
seconds: 0
milliseconds: 250
- parallel:
- service: light.turn_on
data:
brightness_pct: 100
flash: short
color_name: red
target:
area_id: bar
- service: light.turn_on
data:
rgb_color:
- 255
- 0
- 0
flash: short
target:
entity_id: light.kitchen_island
- conditions:
- condition: trigger
id:
- "2"
sequence:
- service: scene.turn_on
data: {}
target:
entity_id: scene.alarm_disarm_previous
mode: single
Thanks for the help!