Assistant with scenes and govee effects

Hi all,

I’ve been playing around with some scene automations but I seem to have hit a bit of an issue that I can’t figure out.

The basic idea is that I want a couple of my lights to do specific effects for a set period of time when something happens (I this case when england score in the rugby), then return to the state they were before.

So I’ve hit 2 problems, the first is that the effects don’t always seem to work on my govee lights, and this is even if I trigger them manually, the lights just seem to go on to whatever state they were before I run the effect, I restarted my HA and then the effects worked for a small period then they just stopped, I can’t see any errors etc. is there anything obvious I should be looking for or is this a known issue?

The second is that I can’t seem to get the saved scene to run after the timer has expired.

Here’s the code I’ve got.

id: '1761936579554'
alias: 1 Test
description: ''
triggers:
  - trigger: state
    entity_id:
      - sensor.internationals
    attribute: team_score
    id: England Score
conditions: []
actions:
  - action: scene.create
    metadata: {}
    data:
      snapshot_entities:
        - light.living_room_floor_light
        - light.living_room_sofa_lights
      scene_id: before_score
  - action: light.turn_on
    metadata: {}
    data:
      effect: Crossing
    target:
      entity_id: light.living_room_floor_light
  - action: light.turn_on
    metadata: {}
    target:
      entity_id: light.living_room_sofa_lights
    data:
      effect: Crossing
  - delay:
      hours: 0
      minutes: 0
      seconds: 5
      milliseconds: 0
  - action: scene.turn_on
    metadata: {}
    data:
      scene_id: before_score
mode: single

Thanks in advance for any help :+1::+1: