SmartHome-yourself / m5-dial-for-esphome

M5 Stack Dial - Custom Component for ESPHome
MIT License
57 stars 8 forks source link

My aircon has 0.5 degree temperature setting steps #40

Open SvenDowideit opened 1 week ago

SvenDowideit commented 1 week ago

I'd love the step width to have a non-integer size - perhaps a single decimal is enough, but i don't know the tradeoffs between changing to a float, vs adding a rotary_step_width_scaler int, so both settings could be ints

for eg, to get 0.5, rotary_step_width=1 & rotary_step_width_scaler=2

or to enable 0.1, rotary_step_width=1 & rotary_step_width_scaler=10