Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant open previous Popups like back option #739

Open
roh735 opened this issue Aug 4, 2024 · 0 comments
Open

Cant open previous Popups like back option #739

roh735 opened this issue Aug 4, 2024 · 0 comments

Comments

@roh735
Copy link

roh735 commented Aug 4, 2024

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:
- type: custom:button-card
name: Residents
tap_action: !include residents.yaml

Residents.yaml
card:
type: horizontal-stack
cards:
- type: custom:button-card
name: Resident one
tap_action: !include residentOne.yaml

ResidentOne.yaml
card:
type: horizontal-stack
cards:
- type: custom:button-card
name: back
tap_action: !include residents.yaml

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:

  • [ X ] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).

  • [ X ] Have made sure I am using the latest version of the plugin.

  • [ X ] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.

  • [ X ] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant