Input_number slider introduces far too many decimals

I’ve got five input_number slides, with identical config apart from id and name. Yet, three has got one decimal, as wanted (and configured), but the the first two ones has got no less than twelve.


Below are configs of two and three, with the aforementioned difference in decimals at the frontend despite sharing the same essential configuration.

slider_ljusniva_2:
  name:"Ljusnivå 2 om under"
  min:-5
  max:5
  step:0.1
  mode:'slider'

slider_ljusniva_3:
  name:"Ljusnivå 3 om under"
  min:-5
  max:5
  step:0.1
  mode:'slider'

So this is still a thing. (Updated to 0.78; no change.)

I tried manually setting the variable to something with just one decimal, through dev-states, but once the slider loaded, the decimals were back.

Open to any suggestions!

I’d raise an issue about that.

Done (1687).

But you don’t want 45000 decimals?

Correct. I do not want 45 000 decimals.

… Is there anything in the config snippet that suggests that I do, or from where did you pick up that number? :joy:

:rofl::joy: I was just making a bad joke

1 Like

I hoped as much, but this is the internet after all; you never know. Also, I would have been surprised had you said there indeed was something in my config that added 45 000 decimals, but wouldn’t have discarded the notion entirely. :man_shrugging: Mysterious are the ways of the bits.

1 Like