Increase precision for input_number and climate-controller
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.
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?
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.
Thanks - can you share the card config (yaml) so I can do my own testing as well?
Sorry for the late reply. Sure
type: custom:slider-button-card
entity: input_number.badezimmertemperatur_slider
slider:
direction: left-right
background: gradient
use_state_color: false
use_percentage_bg_opacity: false
show_track: false
disable_sliding: false
force_square: false
show_attribute: false
tap_action:
action: more-info
show_name: true
show_state: true
compact: false
icon:
show: true
use_state_color: true
tap_action:
action: more-info
icon: ''
action_button:
mode: toggle
icon: mdi:power
show: false
show_spinner: true
tap_action:
action: toggle