Netflix won't start

I’m trying to make a script that turns my tv on, and switches the input of the Fire TV to Netflix. Script:

  - service: media_player.turn_on
      entity_id: media_player.panasonic_viera_tv
  - delay:
      seconds: 10
  - service: media_player.select_source
      entity_id: media_player.fire_tv
      source: ''

The TV turns on, but it doesn’t switch to the netflix app. When I only run the select_source part of the script it does work. Anyone got any ideas?

What happens if you increase the delay?

Is the fire stick powered by the TV? or plugged in to the wall? If you select the source while it’s powered, it might turn on the TV for you.

If it’s powered by the TV, 10 seconds doesn’t seem like enough time.

Nothing happens when I increase the delay. My TV is in standby mode, so it’s started 1 second after the script launches. When I swap the source command out for the following, the fire stick does react and switches the page to the right.

  service: androidtv.adb_command
    entity_id: media_player.fire_tv
    command: "RIGHT"

My FireTV is powered by my TV