aex351 / home-assistant-neerslag-app

Neerslag app for Home Assistant. All-in-one package (Sensors + Card).
62 stars 18 forks source link

Card not available #47

Closed 2-MAdD closed 7 months ago

2-MAdD commented 1 year ago

i've installed this according to 1a. Install via HACS (recommended). Rebooted the HA. After the reboot i've followed this: Configure the Neerslag App (via interface) But now when i want to create a new dashboard, i'm getting this error: Custom element not found: neerslag-card

what can be wrond. neerslag1 neerslag2 neerslag3 neerslag4 neerslag5

What could be wrong?

aex351 commented 1 year ago

Could be a caching problem with your browser. Try clearing the cache and/or as test use a private/incognito window.

2-MAdD commented 1 year ago

@aex351 it isnt a cache issue, as i see this on different devices (win11 machine, ipad, iphone) tried that before on above devices, but all give the same error (also with the app)

BarBaar44 commented 1 year ago

Same here!

aex351 commented 1 year ago

The error basically means the Neerslag Card (the frontend part) is not loading. Can you check your browser console window and Home Assistant logs?

realjax commented 1 year ago

Same problem here

poksh commented 7 months ago

same problem, and I don't see Neerslag Card in the 'Add Card' list

upd, records from chrome's console (my domain replaced by MYDOMAIN):

Soulfly999 commented 7 months ago

same problem, and I don't see Neerslag Card in the 'Add Card' list

upd, records from chrome's console (my domain replaced by MYDOMAIN):

* general:1 Access to script at 'https://unpkg.com/@lit/reactive-element@%5E1.3.0?module' from origin 'https://MYDOMAIN' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

* lit-element.js:1 GET https://unpkg.com/@lit/reactive-element@%5E1.3.0?module net::ERR_FAILED 520

* general:1 Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: https://MYDOMAIN/neerslag-card.js?cache=1712906259.0936947

Same problem, looks like https://unpkg.com/@lit is not available

aex351 commented 7 months ago

Will look in to this. Seems that currently there is an issue with unpkg, for which there is a dependency. Going forward, there has been a plan to remove this dependency. On short term, let's see if the connectivity issue resolves itself within some hours, if not will look for a quick fix.

aex351 commented 7 months ago

Issue has resolved itself.

poksh commented 7 months ago

and it broke again

Soulfly999 commented 7 months ago

I didn't checked it yesterday, but today it works again.

2024-04-13 12_32_20-Übersicht – Home Assistant – Mozilla Firefox

poksh commented 6 months ago

Screenshot_20240507_091254_Home Assistant.jpg

the problem is back

aex351 commented 6 months ago

@poksh, this issue has been completely mitigated. See: #40. Try updating the neerslag-app to the latest version and clear your local cache.