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.
275 stars 24 forks source link

Cannot assign to read only property 'exclude_states' of object '#<Object>' #31

Closed iptvcld closed 4 years ago

iptvcld commented 4 years ago

Getting error: Cannot assign to read only property 'exclude_states' of object '#' after updating to Home Assistant 0.106.0

gadgetchnnel commented 4 years ago

The latest Beta release of the card should fix this. If you used HACS to install the card you may be better installing the update manually (download it from the Releases page) as the current stable version of HACS has an issue where it doesn't download all the files this card requires.

iptvcld commented 4 years ago

Just downloaded 0.3.9b3 from the release page and copied all the files into the HA folder - refreshed and still the same issue.

gadgetchnnel commented 4 years ago

@iptvcld Can you try a hard refresh in the browser? I sometimes that that (or even just a second regular refresh) is needed when I have manually updated the files.

iptvcld commented 4 years ago

yes; i have even tried incognito

gadgetchnnel commented 4 years ago

Where are you putting the files? If you use HACS normally the files would need to be under /config/www/community/lovelace-home-feed-card

If you don't use HACS, you may need to update the URL in your resources so it has lovelace-home-feed-card.js?v=0.3.9b3 so that it doesn't use the old cached version.

iptvcld commented 4 years ago

My HACS go to www\community\lovelace-home-feed-card and this path:

url: /local/community/lovelace-home-feed-card/lovelace-home-feed-card.js type: js

I have made sure i put the downloaded files into the same path from 0.3.9b3

gadgetchnnel commented 4 years ago

@iptvcld I just realised something I forgot to mention. If there is a file named lovelace-home-feed-card.js.gz in the folder, you need to delete it. This is a compressed version of the file which is generated by HACS when it installed the card and, if you don't remove it, HACS will use that instead of the new file.

iptvcld commented 4 years ago

Thanks.. What i did was

  • fully uninstalled this addon from HACS
  • create a new folder (lovelace-home-feed-card)
  • dumped in your files from 0.3.9b3
  • added ?v=0.3.9b3 to the lovelace addin line

= Worked..

iptvcld commented 4 years ago

Once this has been corrected to work HACS, would be good to know so i can convert back.. Thank you again for your support

gadgetchnnel commented 4 years ago

@iptvcld Can you please try the latest Beta 0.4.0b1? This has been refactored to work better with HACS as there is now only a single Javascript file to download.

iptvcld commented 4 years ago

i just installed 0.3.9 from master and that worked ok

iptvcld commented 4 years ago

also installed 0.4.0b2 and that worked as well

gadgetchnnel commented 4 years ago

Closing now as this appears to be resolved.