Delay lasting longer than I specified in script (and is inconsistent)

First time poster, long time follower of the project and have had a basic implementation for a number of years.

I am trying to create a wake-up light for a sunrise effect, slowly increasing brightness and colour temperature over time. My lights, unfortunately do not support the “transition” effect.

I have done this in the past with success using Tradfri lights following a post that details the creation of a long script outlining each step of brightness and colour temperature; however, since I just started with a new install, I figured I would try the new Blueprint function, using this Blueprint. Unfortunately, that did not work (the lights just would not even turn on - and I tried multiple different lights), so I went in search of creating a scene/automation combo similar to the first post I linked, but one that would manage the stepping up of brightness/colour temperature automatically.

I came across this which seems to be exactly what I wish to achieve, but the only problem is that it takes 3 or so times as long as it should to complete the script. I should note that the initial “1 second delay” always works. I tried expressing the delay without the single quotes which seemed to help because it seems Home Assistant was interpreting the delay as hours with the single quotes, but it still wasn’t accurate. I then tried expressing the delay as “00:00:01” for 1 second and “00:01:00” for 1 minute, then also as

delay:
  seconds: 1

delay:
  minutes: 1

Again, the 1 second delay is always accurate, but once the script enters the “repeat” block, the delay seems to not adhere to one minute and stretches out for many minutes (3-5) more. Although I have seen others comment around the web that they have used this script and it works as intended, I decided to break down the repeats manually to see if the delay issue persists, and sure enough, it does. This time, the trace timeline shows exactly how long the script ACTUALLY delays for (with the repeat block, this information seems to get hidden at least from the UI view - happy for someone to direct me on how to check it otherwise).

I have further tried to isolate each variable of this problem: I used different lights (IKEA Tradfri via Zigbee2mqtt and Tuya via LocalTuya), I used individual bulbs as opposed to light groups (although I would like to trigger the whole light group together, which works at each step, just that the delay is inconsistent). Each time, the delay seems to persist as an issue no matter what I change. Any guidance would be much appreciated.

If it makes a difference, I am running Home Assistant OS 5.10.108 (Core 2022.4.4) in VirtualBox on a Mac (in the past, I have always run it on a Raspberry Pi).

Thank you!

Here is the script I used with the delays broken down. Note I only used 6 steps of a minute each for testing - I want it to ramp up over 30 minutes.

sunrise_wake_up:
  alias: Sunrise wake-up
  sequence:
  - service: light.turn_on
    data:
      color_temp: 250
      brightness: 1
    entity_id: light.bedroom_lights
  - delay:
      minutes: 1
  - service: light.turn_on
    data:
      color_temp: 291
      brightness: 51
    entity_id: light.bedroom_lights
  - delay:
      minutes: 1
  - service: light.turn_on
    data:
      color_temp: 332
      brightness: 102
    entity_id: light.bedroom_lights
  - delay:
      minutes: 1
  - service: light.turn_on
    data:
      color_temp: 373
      brightness: 153
    entity_id: light.bedroom_lights
  - delay:
      minutes: 1
  - service: light.turn_on
    data:
      color_temp: 414
      brightness: 204
    entity_id: light.bedroom_lights
  - delay:
      minutes: 1
  - service: light.turn_on
    data:
      color_temp: 454
      brightness: 255
    entity_id: light.bedroom_lights

Here are the contents of the trace file. I have attached a photo of the trace timeline as well:

{
  "trace": {
    "last_step": "sequence/10",
    "run_id": "60ca89f01ad715b0bc8b84e408ab33b8",
    "state": "stopped",
    "script_execution": "finished",
    "timestamp": {
      "start": "2022-04-15T20:54:48.960140+00:00",
      "finish": "2022-04-15T21:11:06.092253+00:00"
    },
    "domain": "script",
    "item_id": "sunrise_wake_up",
    "trace": {
      "sequence/0": [
        {
          "path": "sequence/0",
          "timestamp": "2022-04-15T20:54:48.961766+00:00",
          "changed_variables": {
            "this": {
              "entity_id": "script.sunrise_wake_up",
              "state": "off",
              "attributes": {
                "last_triggered": "2022-04-15T20:36:27.746319+00:00",
                "mode": "single",
                "current": 0,
                "friendly_name": "Sunrise wake-up"
              },
              "last_changed": "2022-04-15T20:54:46.155649+00:00",
              "last_updated": "2022-04-15T20:54:46.155649+00:00",
              "context": {
                "id": "4ea9c0f03bf7174f73167c3deac4c2f3",
                "parent_id": null,
                "user_id": null
              }
            },
            "context": {
              "id": "61409cd2b7c7c26c6352f45d3f36617a",
              "parent_id": null,
              "user_id": "888efb1d358a4db3aedb76e09d7e1282"
            }
          },
          "result": {
            "params": {
              "domain": "light",
              "service": "turn_on",
              "service_data": {
                "color_temp": 250,
                "brightness": 1,
                "entity_id": [
                  "light.bedroom_lights"
                ]
              },
              "target": {
                "entity_id": [
                  "light.bedroom_lights"
                ]
              }
            },
            "running_script": false,
            "limit": 10
          }
        }
      ],
      "sequence/1": [
        {
          "path": "sequence/1",
          "timestamp": "2022-04-15T20:54:49.151789+00:00",
          "result": {
            "delay": 60,
            "done": true
          }
        }
      ],
      "sequence/2": [
        {
          "path": "sequence/2",
          "timestamp": "2022-04-15T21:00:43.973531+00:00",
          "result": {
            "params": {
              "domain": "light",
              "service": "turn_on",
              "service_data": {
                "color_temp": 291,
                "brightness": 51,
                "entity_id": [
                  "light.bedroom_lights"
                ]
              },
              "target": {
                "entity_id": [
                  "light.bedroom_lights"
                ]
              }
            },
            "running_script": false,
            "limit": 10
          }
        }
      ],
      "sequence/3": [
        {
          "path": "sequence/3",
          "timestamp": "2022-04-15T21:00:43.997198+00:00",
          "result": {
            "delay": 60,
            "done": true
          }
        }
      ],
      "sequence/4": [
        {
          "path": "sequence/4",
          "timestamp": "2022-04-15T21:07:18.886271+00:00",
          "result": {
            "params": {
              "domain": "light",
              "service": "turn_on",
              "service_data": {
                "color_temp": 332,
                "brightness": 102,
                "entity_id": [
                  "light.bedroom_lights"
                ]
              },
              "target": {
                "entity_id": [
                  "light.bedroom_lights"
                ]
              }
            },
            "running_script": false,
            "limit": 10
          }
        }
      ],
      "sequence/5": [
        {
          "path": "sequence/5",
          "timestamp": "2022-04-15T21:07:20.617430+00:00",
          "result": {
            "delay": 60,
            "done": true
          }
        }
      ],
      "sequence/6": [
        {
          "path": "sequence/6",
          "timestamp": "2022-04-15T21:09:05.392657+00:00",
          "result": {
            "params": {
              "domain": "light",
              "service": "turn_on",
              "service_data": {
                "color_temp": 373,
                "brightness": 153,
                "entity_id": [
                  "light.bedroom_lights"
                ]
              },
              "target": {
                "entity_id": [
                  "light.bedroom_lights"
                ]
              }
            },
            "running_script": false,
            "limit": 10
          }
        }
      ],
      "sequence/7": [
        {
          "path": "sequence/7",
          "timestamp": "2022-04-15T21:09:05.872245+00:00",
          "result": {
            "delay": 60,
            "done": true
          }
        }
      ],
      "sequence/8": [
        {
          "path": "sequence/8",
          "timestamp": "2022-04-15T21:10:05.927715+00:00",
          "result": {
            "params": {
              "domain": "light",
              "service": "turn_on",
              "service_data": {
                "color_temp": 414,
                "brightness": 204,
                "entity_id": [
                  "light.bedroom_lights"
                ]
              },
              "target": {
                "entity_id": [
                  "light.bedroom_lights"
                ]
              }
            },
            "running_script": false,
            "limit": 10
          }
        }
      ],
      "sequence/9": [
        {
          "path": "sequence/9",
          "timestamp": "2022-04-15T21:10:05.983861+00:00",
          "result": {
            "delay": 60,
            "done": true
          }
        }
      ],
      "sequence/10": [
        {
          "path": "sequence/10",
          "timestamp": "2022-04-15T21:11:05.989273+00:00",
          "result": {
            "params": {
              "domain": "light",
              "service": "turn_on",
              "service_data": {
                "color_temp": 454,
                "brightness": 255,
                "entity_id": [
                  "light.bedroom_lights"
                ]
              },
              "target": {
                "entity_id": [
                  "light.bedroom_lights"
                ]
              }
            },
            "running_script": false,
            "limit": 10
          }
        }
      ]
    },
    "config": {
      "alias": "Sunrise wake-up",
      "sequence": [
        {
          "service": "light.turn_on",
          "data": {
            "color_temp": 250,
            "brightness": 1
          },
          "entity_id": "light.bedroom_lights"
        },
        {
          "delay": {
            "minutes": 1
          }
        },
        {
          "service": "light.turn_on",
          "data": {
            "color_temp": 291,
            "brightness": 51
          },
          "entity_id": "light.bedroom_lights"
        },
        {
          "delay": {
            "minutes": 1
          }
        },
        {
          "service": "light.turn_on",
          "data": {
            "color_temp": 332,
            "brightness": 102
          },
          "entity_id": "light.bedroom_lights"
        },
        {
          "delay": {
            "minutes": 1
          }
        },
        {
          "service": "light.turn_on",
          "data": {
            "color_temp": 373,
            "brightness": 153
          },
          "entity_id": "light.bedroom_lights"
        },
        {
          "delay": {
            "minutes": 1
          }
        },
        {
          "service": "light.turn_on",
          "data": {
            "color_temp": 414,
            "brightness": 204
          },
          "entity_id": "light.bedroom_lights"
        },
        {
          "delay": {
            "minutes": 1
          }
        },
        {
          "service": "light.turn_on",
          "data": {
            "color_temp": 454,
            "brightness": 255
          },
          "entity_id": "light.bedroom_lights"
        }
      ]
    },
    "blueprint_inputs": null,
    "context": {
      "id": "61409cd2b7c7c26c6352f45d3f36617a",
      "parent_id": null,
      "user_id": "888efb1d358a4db3aedb76e09d7e1282"
    }
  },
  "logbookEntries": [
    {
      "when": "2022-04-15T20:54:48.960687+00:00",
      "name": "Sunrise wake-up",
      "state": "on",
      "entity_id": "script.sunrise_wake_up",
      "context_user_id": "888efb1d358a4db3aedb76e09d7e1282",
      "message": "turned on"
    },
    {
      "when": "2022-04-15T20:54:49.392282+00:00",
      "name": "Bedroom Bulb Centre",
      "state": "on",
      "entity_id": "light.bedroom_bulb_centre",
      "context_user_id": "888efb1d358a4db3aedb76e09d7e1282",
      "context_entity_id": "script.sunrise_wake_up",
      "context_entity_id_name": "Sunrise wake-up",
      "context_event_type": "state_changed",
      "message": "turned on"
    },
    {
      "when": "2022-04-15T20:54:49.413307+00:00",
      "name": "Bedroom Bulb Left",
      "state": "on",
      "entity_id": "light.bedroom_bulb_left",
      "context_user_id": "888efb1d358a4db3aedb76e09d7e1282",
      "context_entity_id": "script.sunrise_wake_up",
      "context_entity_id_name": "Sunrise wake-up",
      "context_event_type": "state_changed",
      "message": "turned on"
    },
    {
      "when": "2022-04-15T20:54:49.414867+00:00",
      "name": "Bedroom Lights",
      "state": "on",
      "entity_id": "light.bedroom_lights",
      "icon": "mdi:lightbulb-group",
      "context_user_id": "888efb1d358a4db3aedb76e09d7e1282",
      "context_entity_id": "script.sunrise_wake_up",
      "context_entity_id_name": "Sunrise wake-up",
      "context_event_type": "state_changed",
      "message": "turned on"
    },
    {
      "when": "2022-04-15T20:54:49.462314+00:00",
      "name": "Bedroom Bulb Right",
      "state": "on",
      "entity_id": "light.bedroom_bulb_right",
      "context_user_id": "888efb1d358a4db3aedb76e09d7e1282",
      "context_entity_id": "script.sunrise_wake_up",
      "context_entity_id_name": "Sunrise wake-up",
      "context_event_type": "state_changed",
      "message": "turned on"
    }
  ]
}

Here is the end of trace timeline (as a new user I could only post one image in my original post):

hey did you manage to resolve this?