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
Version 2.0 clashed with Button Card integration #358
Comments
Please include the code you are using to open the popup. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@thomasmaxson I hope you have made changes to your yaml, the code which works for browser mod v1 might not work with v2. |
Original code is as follows:
New code:
|
Same here |
Returning with my solution for anyone else who is lost on getting the new structure to work. Got this working with the following code:
|
Thanks I fix it, sorry to bother you :P |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
My Home Assistant version: 2022.8.7
What I am doing:
Using YAML configuration to open popups for my dashboard
What I expected to happen:
Popups to launch
What happened instead:
Receiving console errors that prevent the popup from launching
Error messages from the browser console:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'startsWith')
at Ue._service_action (browser_mod.js:66:17482)
at HTMLBodyElement. (browser_mod.js:66:17325)
at It (button-card.js:1:27865)
at Gt (button-card.js:1:31754)
at Je._handleTap (button-card.js:547:4619)
at Je._handleAction (button-card.js:547:4488)
at N.handleEvent (button-card.js:1:9239)
at N.__boundHandleEvent (button-card.js:1:8618)
at Xt (button-card.js:1:34317)
at button-card.js:1:37920
By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I:
Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
Have made sure I am using the latest version of the plugin.
Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
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.
The text was updated successfully, but these errors were encountered: