Last state of light

Hi, I created a script, if it is activated it saves the current state of the selected lights in a scene, then the effect is activated (in this case the lights turn red) after 4 seconds the scene should be loaded with the previous state of the lights, but it doesn’t work, what did i do wrong?

batteria_batteria_scarica_flash:
  alias: '[batteria] batteria scarica flash'
  sequence:
  - choose:
    - conditions: []
      sequence:
      - service: scene.create
        data:
          scene_id: lights_batteria
          snapshot_entities:
          - light.yeelight_colorc_0x1b0fe82e
          - light.yeelight_colorc_0x18904453
          - light.yeelight_colorc_0x189079ce
          - light.yeelight_colorc_0x18904704
          - light.yeelight_colorc_0x18904a27
          - light.yeelight_colorc_0x1b0f515f
          - light.yeelight_colorc_0x189042ff
          - light.yeelight_colorc_0x18906fb6
          - light.yeelight_colorc_0x1b0ffc9a
          - light.yeelight_colorc_0x1b0fdbc5
          - light.yeelight_colorc_0x18902005
          - light.yeelight_colorc_0x1b0f9020
          - light.yeelight_colorc_0x18905106
      - service: light.turn_on
        data:
          color_name: red
        target:
          entity_id:
          - light.yeelight_colorc_0x18902005
          - light.yeelight_colorc_0x189042ff
          - light.yeelight_colorc_0x18904453
          - light.yeelight_colorc_0x18904704
          - light.yeelight_colorc_0x18904a27
          - light.yeelight_colorc_0x18905106
          - light.yeelight_colorc_0x18906fb6
          - light.yeelight_colorc_0x189079ce
          - light.yeelight_colorc_0x1b0f515f
          - light.yeelight_colorc_0x1b0f9020
          - light.yeelight_colorc_0x1b0fdbc5
          - light.yeelight_colorc_0x1b0fe82e
          - light.yeelight_colorc_0x1b0ffc9a
      - delay:
          hours: 0
          minutes: 0
          seconds: 4
          milliseconds: 0
      - service: scene.turn_on
        data: {}
        target:
          entity_id: scene.lights_batteria
    default: []
  mode: single
  icon: mdi:battery-20

you have it inside a choose with no conditions

batteria_batteria_scarica_flash:
  alias: '[batteria] batteria scarica flash'
  sequence:
      - service: scene.create
        data:
          scene_id: lights_batteria
          snapshot_entities:
          - light.yeelight_colorc_0x1b0fe82e
          - light.yeelight_colorc_0x18904453
          - light.yeelight_colorc_0x189079ce
          - light.yeelight_colorc_0x18904704
          - light.yeelight_colorc_0x18904a27
          - light.yeelight_colorc_0x1b0f515f
          - light.yeelight_colorc_0x189042ff
          - light.yeelight_colorc_0x18906fb6
          - light.yeelight_colorc_0x1b0ffc9a
          - light.yeelight_colorc_0x1b0fdbc5
          - light.yeelight_colorc_0x18902005
          - light.yeelight_colorc_0x1b0f9020
          - light.yeelight_colorc_0x18905106
      - service: light.turn_on
        data:
          color_name: red
        target:
          entity_id:
          - light.yeelight_colorc_0x18902005
          - light.yeelight_colorc_0x189042ff
          - light.yeelight_colorc_0x18904453
          - light.yeelight_colorc_0x18904704
          - light.yeelight_colorc_0x18904a27
          - light.yeelight_colorc_0x18905106
          - light.yeelight_colorc_0x18906fb6
          - light.yeelight_colorc_0x189079ce
          - light.yeelight_colorc_0x1b0f515f
          - light.yeelight_colorc_0x1b0f9020
          - light.yeelight_colorc_0x1b0fdbc5
          - light.yeelight_colorc_0x1b0fe82e
          - light.yeelight_colorc_0x1b0ffc9a
      - delay:
          hours: 0
          minutes: 0
          seconds: 4
          milliseconds: 0
      - service: scene.turn_on
        data: {}
        target:
          entity_id: scene.lights_batteria
  mode: single
  icon: mdi:battery-20