thomasloven / hass-browser_mod

🔹 A Home Assistant integration to turn your browser into a controllable entity and media player
MIT License
1.34k stars 186 forks source link

Cant open previous Popups like back option #739

Open roh735 opened 3 months ago

roh735 commented 3 months ago

My Home Assistant version: core: 2024.7.4 supervisor: 2024.06.2

What I am doing: I am trying to have multiple popups and when I am at first popup, click on the btn and opening second popup it will show successfully. Than I would click go back and it is configured to open popup first one. but ui will throw an error image as Unknown error.

What I expected to happen: Should not complain and be able to open popup that was configured

What happened instead: ui is not loading with error

Minimal steps to reproduce: you have lovelace ui yaml and popup files as fileOne.yaml and fileTwo.yaml

now lovelace ui create card with tap_action: !include fileOne.yaml it will open popup now in fileOne.yaml create card with tap_action: !include fileTwo.yaml now in fileTwo.yaml create card with tap_action: !include fileOne.yaml

In this case you at the Lovelace ui, click on fileOne -> you now at fileTwo, click fileOne = should go back But its not working since ui is throwing error with this set up

# The least amount of code or steps possible to reproduce my error

# Put your code/steps here

Lovelace ui card: type: horizontal-stack cards:

Residents.yaml card: type: horizontal-stack cards:

ResidentOne.yaml card: type: horizontal-stack cards:

Error messages from the browser console: UI throws Unknown error

// Select everything from the browser console and copy it
// Paste it here

{ "code": "unknown_error", "message": "Unknown error" }

By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I: