custom-cards / slider-button-card

A button card with integrated slider
MIT License
105 stars 16 forks source link

Increase precision for input_number and climate-controller #76

Open jclsn opened 1 month ago

jclsn commented 1 month ago

So I tried to cleanly apply the changes I made back then to the main branch. Haven't tested this. For some reason I can't add it as custom repo in HACS anymore, because it complains about a non-compliant structure.

I also was not sure back then if this only worked for Celsius. Maybe someone using Imperial units should test it as well.

Let me know if this works and/or needs proper formatting. Would see if I can install a formatter for Typescript. I am really not web guy and just poorly hacked something together back then that worked for me.

rohankapoorcom commented 1 month ago

Can you give a couple of examples of how you are using the card with this change so I can test with the same/similar config?

jclsn commented 1 month ago

Sure, I use to for input_number entities that I use as a heating setpoint for my thermostats. That is pretty much the only use I had for it.

grafik