#temp scene not saving for use in automation?

1 messages · Page 1 of 1 (latest)

lament kelp
#

Trying to get a scene to show some lights and then put those lights back in their prior state. Research shows the automation should use scene.create and entity_snapshot, but it doesnt really seem like its storing the entity state, cause it never reverts. Help me keep the small amount of hair j have remaining?

actions:
  - action: scene.create
    metadata: {}
    data:
      scene_id: temp
      snapshot_entities:
        - light.floor_lamp_1_2
        - light.floor_lamp_2_2
  - delay:
      seconds: 2
  - action: scene.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: scene.fc
  - delay:
      seconds: 10
  - action: scene.turn_on
    metadata: {}
    data:
      transition: 5
    target:
      entity_id: scene.temp
  - delay:
      seconds: 2
mode: single
zealous gull
#

hmm looks about right

#

have you tried just turning on the temp scene outside the automation, see if it does anything?

lament kelp
#

i'm not sure i'm following here. I should be, I understand what you're saying, but the scene does not exist within scenes