hi @m.p.frankland I noticed that the version extension on the lovelace resource in the readme doesn’t match the version in the json. Might want to update the readme
On another note, I STILL can’t get this to load (still getting custom element doesn’t exist error after cache clear, multiple refreshes etc.)
Ah… other than for folks who use the tracker card, that number is meaningless. At one time the number needed to be incremented every time the card changed for lovelace to use the new version of the card. You could use whatever number you wanted as long as it changed whenever there was a new card. It doesn’t matter any more. Here is the line from my current ui-lovelace.
btw: I was very happy when the reliance on the version number was removed… It was a PITA remembering to change it every time I tweaked the card. 7.2 was just the last time i updated the v number (before Christmas I think)
Do you know how to use the debug panel… The console window will show any card specific errors. If you keep getting an customElement not defined it means something is breaking the card bad enough that it doesn’t finish it’s definition phase. Either that or it can’t find the card in your directory structure.
I just tried updating card-modder and car-tools the latest versions but I think that has just caused more dramas. Now I get this when I navigate to a lovelace page withthe weather card on it:
That error is in the card_modder definition so I can’t help there …
The debug tool is pretty easy to use…
Go to the page with the dark-sky card on it and press SHIFT+CTRL+C . It will open a panel on the right side of your screen. AT the bottom of the panel will be a window that should be the console window. hit F5 to refresh the page and any errors on the page should show up in that window. It looks like this:
sorry for that, forgot to use the Preformatted text <>. I edited the original post too, but what I meant was that these Unit symbols are not yet using the <span class="unit> and hence are larger than the other unit symbols in that section of the card.
Small but delicate detail.
It seems that I get quite a few errors in the console:
Uncaught (in promise) DOMException
card-tools.js:229 CARD-TOOLS IS INSTALLEDDeviceID: f9508854-651bd91f
card-modder.js:44 Uncaught (in promise) TypeError: target.style.setProperty is not a function
at HTMLElement._cardMod (card-modder.js:44)
at HTMLElement.firstUpdated (card-modder.js:26)
at HTMLElement._validate (app-19bfb9ea.js:1167)
at HTMLElement._invalidate (app-19bfb9ea.js:1167)
dark-sky-weather-card.js?v=7.2:287 Uncaught (in promise) TypeError: Cannot read property ‘state’ of undefined
at HTMLElement.get current [as current] (dark-sky-weather-card.js?v=7.2:287)
at HTMLElement.render (dark-sky-weather-card.js?v=7.2:27)
at HTMLElement.update (app-19bfb9ea.js:1191)
at HTMLElement._validate (app-19bfb9ea.js:1167)
at HTMLElement._invalidate (app-19bfb9ea.js:1167)
card-modder.js:44 Uncaught TypeError: target.style.setProperty is not a function
at HTMLElement._cardMod (card-modder.js:44)
at setTimeout (card-modder.js:37)
I just installed the newest version of the card and it’s awesome!
I added all the optional stuuf and the card looks great but…
where does the weekly forecast summary at the bottom of this card come from?
I’d like to leave everything but that one thing since I use another custom card that already displays that information and I like the size of the text in that box better.