Automation is not triggering when scene is turned on from a script

What I want to do:
I have one automation to turn on a scene when the time is right:

- id: 'iltavalot_paalle'
  alias: Iltavalot päälle
  trigger:
  - platform: time
    at: "16:00:10"
  condition:
  - condition: state
    entity_id: input_boolean.kotona
    state: 'on'
  - condition: time
    after: "16:00:00"
  action:
    service: scene.turn_on
    target:
      entity_id: scene.iltavalot

And I want to immediately turn off the lights, since (AFAIK) it’s not possible to set the color temperatures or brightness unless you turn on the light (for philips hue).

So I have this kind of automation set up:

- id: kaytavan_valo_sammutus
  alias: Käytävän valo sammutus
  trigger:
    - platform: event
      event_type: call_service
      event_data:
        domain: scene
        service: turn_on
        service_data:
          entity_id: scene.iltavalot
  condition:
    - condition: state
      entity_id: script.kaytavan_valot_paalle
      state: "off"
  action:
    - service: homeassistant.turn_on
      entity_id: script.kaytavan_valot_pois

Where script.kaytavan_valot_paalle is a motion light automation, so that the lights don’t go out when there has been movement.

The problem
That automation kaytavan_valo_sammutus is triggering and working just fine when I manually turn on the scene from the UI. However, nothing happens when that iltavalot_paalle automation turns on the scene.

From developer tools it seems that the events are identical, but for some reason this just does not work. Am I missing something here? I tried to find aswers from documentation, but I couldn’t find any mentions that scripts couldn’t fire automations or any other similar restrictions.

Should I file a bug report about this? Since no one seems to have an answer, I’m assuming this is a bug.

What happens if you change the automation to call service, script.turn_on ?

Old thread here, but wondering if you found a solution. I’m running into the same problem and can’t figure out what’s happening. It was working, then stopped a few weeks ago.