Triggering automation by activating scene - Android service widget

I’ve created a scene (“Netflix time with headphones”) which turns on Netflix on my TV, dims the room lights, and turns on some mood lights.

In my TV setup, my headphones are connected to both my TV and computer through an optical switch, for which the source can be changed by IR signal. I’ve trained my RM4 mini for the various optical switch commands, and created a series of scripts to switch to each source (i.e. run the script to change to source #1, the optical switch changes to source #1). I wanted to use one of these scripts to change to the TV optical source as part of the “Netflix time with headphones” scene.

For reference, here is an example script:

alias: Headphone source 1
sequence:
  - service: remote.send_command
    data:
      device: headphones_source_selector
      command: output_1
    target:
      entity_id: remote.rm4_mini_remote
mode: single

Since, as I understand it, scripts cannot be run in a scene, I created an automation to run the appropriate optical switch script, which triggers when the “Netflix time with headphones” scene is activated. This strategy works perfectly when I activate the scene either directly through the scenes dashboard (settings > automations & scenes > scenes), or using a glance card with a button that activates the scene when tapped. For reference, here is the automation code I’m using:

alias: Netflix time with headphones to set headphones to source 1
description: ""
trigger:
  - platform: event
    event_type: call_service
    event_data:
      domain: scene
      service: turn_on
      service_data:
        entity_id: scene.netflix_time_with_headphones
condition: []
action:
  - entity_id: script.headphone_source_1
    service: script.turn_on
mode: single

And here is the glance card code:

show_name: true
show_icon: true
show_state: false
type: glance
entities:
  - entity: scene.netflix_time_with_headphones
    tap_action:
      action: call-service
      service: scene.turn_on
      service_data:
        entity_id: scene.netflix_time_with_headphones
title: Scenes
columns: 2

The problem comes when I try to activate the scene using an Android service widget. For the widget, I essentially use the same code as for the glance card:

Service: scene.turn_on
Entity ID: scene.netflix_time_with_headphones

When I tap the widget, the scene runs, but the automation to run the optical switch script does not trigger. I’m confused as to why the automation is not triggered, since, like I mentioned, I’m basically using the same code in the widget as in the glance card.

Does anyone have any ideas what’s going on, or how to make the widget trigger the automation?