Closed loki-sft closed 1 year ago
please dont open issues for the same issues (that have already been fixed...) you need to take care your browser resets cache, and actually uses the new Card. This is described all over the Community and in this Repo, and is generic for all custom cards
No. There is not a single issue using templates. Must be you don't have 3.5 loaded correctly. Force your browser to use the correct new resource. A simple cache reload is not what establishes that.
As @Mariusthvdb said, you have to trick your browser into reloading the resource:
- url: /local/community/button-card/button-card.js?v=3.5.0
For me button cards are working fine again on HA 2023.4.2
Just adding my two cents: clearing the entire application storage in Chrome did not resolve the error for me. The addition of a cache breaker ?v=3.5.0
worked.
I can confirm, clearing the browser cache AND adding the cache breaker worked for me too.
I can confirm, clearing the browser cache AND adding the cache breaker worked for me too.
Yep, same here. Only adding the cache breaker or only clearing the browser cache didn't work. Just make sure that you add the cache breaker and then clear the browser cache
How do you achieve the cache breaker ? I can't find a way to make it works.
I find a way but no sure this is the right way to do it. I force a new generation of the gz file in the www/community/button-card/
Checklist
Describe the bug After updating HA and button card to latest version its still broken still broken for me - cannot read properties of null (reading 'config')
Version of the card Version: 3.5.0
To Reproduce This is the configuration I used:
Expected behavior no error message, display the card
Desktop (please complete the following information):