calendar-card icon indicating copy to clipboard operation
calendar-card copied to clipboard

Error: no custom:calendar-card

Open haegar33 opened this issue 4 years ago • 4 comments

Following the ReadMe:

type: custom:calendar-card title: "My Calendar" progressBar: true entities:

  • calendar.mycalendar

was entered in a custom card editor. I am sure something is missing? This should be explained in the help section

haegar33 avatar Jun 13 '20 15:06 haegar33

doesnt look like it was installed. install via HACS

ljmerza avatar Jun 15 '20 00:06 ljmerza

Well it was installed via HACS... I realize that all custom: elements are very shaky in HA. Even if you set the "resource" URLs, restart HA 5 times, a new custom card is hardly recognized in Lovelace. And even worse, if for one moment this is the case, I can have 3 different error message in 3 different browsers! I wonder about the underlaying structure of Javascript elements and how they are handled by HA? I never had so much incompatible javascript errors before. I can also see many users in the forum with the same problem.

  • Should an installation via HACS be more "stable"?
  • Should I try to install your script manually?
  • I am using the UI Editor for Lovelace, better with a manual ui-lovelace.yaml?
  • When using the UI Editor and press the large orange plus button I get a some custom cards presented in the list, your calendar-card is not showing up...
  • In the HACS control panel->Frontend your calendar-card is showing up as loaded and ready to use...

The resource URL is (as installed by HACS): /hacsfiles/calendar-card/calendar-card.js

Lovelace Custom Card

haegar33 avatar Jun 15 '20 12:06 haegar33

you can try installing manually. I use this card and I've had no issues through all the updates in the past year.

ljmerza avatar Jun 19 '20 17:06 ljmerza

well after some reinstallation and re-configs (now HA on plain unix, no hass.io) the card appears to be "detected" and loaded. However now there are java sctrip error messages:

(e.entities||[]).map is not a function. (In '(e.entities||[]).map(e=>e.entity||e)', '(e.entities||[]).map' is undefined) type: 'custom:calendar-card' title: Test entities: calendar.privates

This is with Safari and Firefox on MacOS 13.5

haegar33 avatar Jun 27 '20 11:06 haegar33