Closed mvereecken closed 5 years ago
Also, I rebooted Home Assistant and my server a couple of times, just to make sure...
Also, I ruled out the fact that I use a subdirectory for the card, so it's now under www (root) /local/state-switch.js The problem remains.
Some more info (Chrome debug)!
Do you have the latest version of card-tools?
Hi Thomas,
Yes I have:
Well... it turned out that, although the tracker shows the last version, it's not what was in the card-tools.js file! In the code it checks for 0.3 version, while in your latest source file it checks for 0.4. I don't know how this is possible, but anyway, it's not an error in your code. Thank you for making me think in the right direction :-). And keep up the good work, your tools are amazing!
I tried to install the custom card, but it seems LL doesn't recognize it. This is what I added in Lovelace:
(I both tried "module" and "js", the documentation is not clear about this) The js-file was stored in www/customcards/state-switch.js It's visible in the custom card list of the tracker-card, so it must be at least a little bit recognized :-). Hass.io-version: 0.88.2 I also checked permissions; they are the same as the other custom cards. Do you have any idea what can be wrong?