XBOX remote inputs after launching Edge browser

Nothing is ever simple.

So in my quest to get HA to launch a MagicMirror2 display on my primary TV every morning, I have stumbled upon a lot of interesting challenges on this journey. Most all have been overcome, but the latest is stumping me a bit. It would seem that there should be a simple solution, but lets see.

I currently have an automation that:

  • Powers up the xbox (Remote.)
  • Powers up the samsung tv
  • Powers up Receiver + switches source
  • Presses “A” on the xbox controller (When the xbox boots, Edge is selected at startup) to launch edge
  • Press “VIEW” to get a fullscreen view

It is this last step that is not working. It seems that once Edge is launched, I can not seem to get any of the xbox remote button presses to work. I am not sure if it is because it is now looking for a keyboard input? I know the “VIEW” button will bring it to full screen and back, but I lose all controller functions it seems.

actions:
  - action: remote.turn_on
    metadata: {}
    data: {}
    target:
      device_id: f63224a0514f55712ad99964bcc6035b
  - delay:
      hours: 0
      minutes: 0
      seconds: 5
      milliseconds: 0
  - action: remote.turn_on
    metadata: {}
    data: {}
    target:
      device_id: e31be46b698443e7ed72bb003afc568c
  - delay:
      hours: 0
      minutes: 0
      seconds: 5
      milliseconds: 0
  - data:
      command: /goform/formiPhoneAppDirect.xml?PWON
    target:
      device_id: edcb3e1135cdb296738bb1d227c711a9
    action: denonavr.get_command
  - delay:
      hours: 0
      minutes: 0
      seconds: 2
      milliseconds: 0
  - data:
      command: /goform/formiPhoneAppDirect.xml?SIGAME
    target:
      device_id: edcb3e1135cdb296738bb1d227c711a9
    action: denonavr.get_command
  - delay:
      hours: 0
      minutes: 0
      seconds: 5
      milliseconds: 0
  - data:
      command: A
    action: remote.send_command
    target:
      device_id: f63224a0514f55712ad99964bcc6035b
  - delay:
      hours: 0
      minutes: 0
      seconds: 5
      milliseconds: 0
  - data:
      command: VIEW
    action: remote.send_command
    target:
      device_id: f63224a0514f55712ad99964bcc6035b
mode: single