Just got the 1.3.0 update. I have a popup configured for a button card using the ābutton-cardā repo (https://github.com/custom-cards/button-card). It worked before the update, and no longer does. The normal button card still works fine with popups. Is there something I can tweak on my end to make it work?
@M1ke@atonyshepherd
It actually seems like the old way with calling the browser_mod.popup-service still works, but if you include
deviceID:
- this
it does not work anymore. This unfortunately means that the popup will appear on all devices.
I could not get the fire-dom-event for popup to work at all.
i see indeed this new update in Hacs, but unable to update, when i click the update button, i see this error message:
2021-02-10 10:19:24 ERROR (MainThread) [custom_components.hacs] No content to download
edit : if i go to the intrgration list , then to browser_mod, the place where you can downgrade/upgrade versions, ā¦ then its possible to update
seems the error only comes when updating from the community overview page
Hi, before updating: does this also work with other cards that use action: call-service?
I see that the action has been changed to action: fire-dom-event. But for instance, I donāt see custom:button-card using that action.
Hi @RomRider, sorry for tagging out of the blue. But I think itās good for all users to know this since your card and browser mod are two of the most used components of users.
Can you verify that the new action introduced by browser mod actually works with button card?
all my popup windows have stopped working after update, I have tried it with the new configuration of version 1.3.0, I was forced to go back to the previous version.
all my popups are called from custom button, could that be the cause?
someone else with this problem?
regards
None of the custom cards will work with that, wondering where that new format comes from. Any information that you can point to so that we can update the code of custom-cards? Has there been any formal announcement on the core side?
Itās been in the core code for almost a year in preparation for future features.
But so far it has never been used.
Thatās why itās also undocumented.
I didnāt even think of custom cards when changing this. Sorry.
But as of now I see no other way to have this functionality without potentially breaking future Home Assistant versions or risk introducing security issues.
i use scripts for complex popups to keep the yaml in lovelace small and I can also use variables to use a popup multiple times with different entities: