gadgetchnnel / lovelace-home-feed-card

A custom Lovelace card for displaying a combination of persistent notifications, calendar events, and entities in the style of a feed.
266 stars 22 forks source link

problems with Beta 0.106.0b0 #29

Closed VDRainer closed 4 years ago

VDRainer commented 4 years ago

Auswahl_270 I think related to: https://developers.home-assistant.io/blog/2020/02/18/106-custom-card-changes.html

gadgetchnnel commented 4 years ago

I've just deployed a new beta (0.3.9b1) which should hopefully fix this issue (I'm still on 0.105 myself, so I can't actually test it myself) can you give it a go?

VDRainer commented 4 years ago

@gadgetchnnel , sorry, no change. Auswahl_271

gadgetchnnel commented 4 years ago

@VDRainer Can you click on the "lovelace-home-feed-card.js:365" link in the error and let me know what you see on that line when the Javascript opens in the developer tools?

You should see:

entityConf = { ...entityConf, exclude_states: ["unknown"]};

if you see:

entityConf.exclude_states = ["unknown"];

you probably have an the old Javascript cached (or HACS didn't download the new version properly) so you should probably try a hard refresh and/or reinstalling it via HACS.

VDRainer commented 4 years ago

Yeah! After reinstalling the red card is gone, but card shows nothing. Should it? :smile: Auswahl_272 Auswahl_273 Thanks for your effort!

gadgetchnnel commented 4 years ago

Yeah! After reinstalling the red card is gone, but card shows nothing. Should it? 😄

Those errors look like it is failing to import two modules that it needs. It looks like these are somehow being sent with a MIME type of "application/octet-stream" rather than "text/javascript". I wonder if this is an issue with how HACS is sending these.

I'm just updating the 0.106.0b0 myself, so I'll know soon if that is also 0.106 related.

VDRainer commented 4 years ago

@gadgetchnnel , you're right, installed the files manually and eveything works! Auswahl_274

VDRainer commented 4 years ago

Maybe one more info. Had the same issue (card shows no entities) in my prod system (0.105.5 reverted back from 0.106 beta) after installing the 0.3.9b1 and reverting back to 0.3.8. Nothing helped, had to install the files manually and all workes again.

Mediacj commented 4 years ago

I have the same problem after installing the beta, but after I placed the two missing modules in the home-feed directory by hand it still doesn't work the screen stays empty and no errors?

EDIT: solved now I replaced all the files in the home-feed dir and it works again! Thx for this great script! EDIT2: it shows up but doesn't get updated it stays static? To be clear I'am on 0.3.8 now. EDIT3: a restart of Home Assistant made it work again!