Closed czsmith closed 6 months ago
I use chrome all the time and no issues. Try pressing F12 to open the debug console and then F5 to refresh the page with the keypad view. Error messages should show in the console window.
That fixed it on the first computer. I then went to my 2nd computer with a Chrome & Brave browser, and I didn’t have to do anything… toggling to Overview and then back to the Alarm dashboard showed the alarm card just fine.
Let’s close this out.
Thank you.
When adding an alarm panel with the code from the repository (alarm-keycard-card.js), I am able to view the alarm panel in Safari and Firefox and on my iPhone. However, in Chrome, I am getting the error "Custom element doesn't exist: alarm-keypad-card". (I've also tried chrome-derived browsers such as Brave and they have the problem too.)
No changes to your .js file. I did have to modify the first example text (HA) for my sensor name and to change the names of the various sensors (they don't match the names in the VistaAlarm.yaml file)
Full error is:
There is some chatter about getting this error on Chrome for other components. Discussion like https://stackoverflow.com/questions/59398462/customelements-not-working-in-google-chrome.
Not a javascript programmer, so I'm not sure how to fix the code.