junkfix / numberbox-card

Replace input_number sliders with plus and minus buttons
109 stars 9 forks source link

Value-Rounding not possible when using cloudflared #97

Closed pos-ei-don closed 1 year ago

pos-ei-don commented 1 year ago

I am using https://github.com/htmltiger/numberbox-card/issues/94

and i am not using cloudflaire as a plugin, as someone mentioned there in https://github.com/htmltiger/numberbox-card/issues/94#issuecomment-1646965241

I use it as cloudflaired VPN connector.

The problem i see is that when accessing HA directly via IP, the "state:~1" parameter works perfectly. When accessing it ober the Cloudflaire-VPN tunnel, "custom:numberbox-card" stays empty and does not display anything.

htmltiger commented 1 year ago

Caching issues.

Check loaded version in developer tools console in chrome

pos-ei-don commented 1 year ago

I don't think so.

NUMBERBOX_CARD 4.12 I also hit STRG+F5. Also tried private mode.

But i get;

Uncaught (in promise) TypeError: b.toFixed is not a function at NumberBox.secondaryInfo (numberbox-card.js?hacstag=304967918413:112:51) at NumberBox.render (numberbox-card.js?hacstag=304967918413:55:12) at NumberBox.update (lit-element.ts:160:24) at NumberBox.performUpdate (reactive-element.ts:1331:14) at NumberBox.scheduleUpdate (reactive-element.ts:1263:17) at NumberBox._$Ej (reactive-element.ts:1235:25)

Can this help`?

htmltiger commented 1 year ago

4.13 is the new version

pos-ei-don commented 1 year ago

Thank you. Cannot find a way to clear the cloudflaire cache. Will wait...