amaximus / garbage-collection-card

Custom Lovelace card for Garbage Collection custom component
MIT License
128 stars 24 forks source link

Not working with new version 0.116? #48

Closed alfiro closed 3 years ago

alfiro commented 3 years ago

Card was perfectly working on version 0.115 and after update to 0.116 I'm gettng this error: Can you tell me how to solve it? 2020-10-08_13h04_31

Thank you so much for your support.

amaximus commented 3 years ago

Could you flush your browser's cache and shift-reload the page?

Please also make sure your configuration.yaml has the below entry for the card in the lovelace resources section:

lovelace:
  resources:
    - {type: js, url: '/hacsfiles/garbage-collection-card/garbage-collection-card.js'}
Alloc186 commented 3 years ago

Hello, the same problem here...

2020-10-10 (1)

2020-10-10 (2)

amaximus commented 3 years ago

For Lovelace in yaml it works as expected. The setConfig is defined in the card, but it's invoked by Lovelace, so the error is generated on a higher level (and in UI mode). I don't know how much work is to set it to yaml mode at least for the time of the tests.

alfiro commented 3 years ago

Could you flush your browser's cache and shift-reload the page?

Please also make sure your configuration.yaml has the below entry for the card in the lovelace resources section:

lovelace:
  resources:
    - {type: js, url: '/hacsfiles/garbage-collection-card/garbage-collection-card.js'}

It works! Thank you so much for your support.