rdehuyss / homeassistant-lovelace-google-calendar-card

A calendar card for Home Assistant using Lovelace
91 stars 14 forks source link

"Custom Element doesn't exist" Older Browser Issue #16

Open scottdarby93 opened 5 years ago

scottdarby93 commented 5 years ago

Hello, I've currently got this issue on older browsers where the Javascript version is es5, is there anyway of making the addon backwards compatible with this version of Javascript?

Everything works perfectly on newer devices.

ChefsSlaad commented 5 years ago

same here. Chromium on rasbian (currently version 65) does not display the card and instead throws a 'custom element does not exist' error. The same card works fine on chrome 70 on ubuntu 18.04

another thing: the instruction refers to /local/custom_ui/calendar-card/calendar-card.js?v=1.0.1, but that file (or dir) does not exist in my [config]/www/ folder

ChefsSlaad commented 5 years ago

update: creating a file in /local/custom_ui/calendar-card/calendar-card.js witth the content of https://github.com/custom-components/custom_updater/blob/master/custom_components/custom_updater.py solves the issue. still works on a newer version of chrome as well

jimbroze commented 5 years ago

@marcwagner Is there any particular reason you used the contents of custom_updater.py? I have the same issue but unfortunately this didn't solve it.

superharaldsson commented 5 years ago

I have the same problem. @marcwagner what stuff did you change in the calendar-card.js file? @jimbroze did you come up with any solution? Mr Jonas