Input_number should not display unwanted decimals —> X instead of X.0

As described here on github, Input_number shows unwanted decimals. It’s a little bit annoying in the frontend. According to frenck, it’s not a bug. It’s a feature Request.

yep, had this discussion some time ago.

awaiting any action in the frontend repo (which is where this would need to be fixed) using:

      - type: custom:slider-entity-row
        entity: input_number.low_lux

check GitHub - thomasloven/lovelace-slider-entity-row: 🔹 Add sliders to entity cards for options

Can I add a +1 to this? (or in the current implementation a +1.0)

I have an input_number to set a PIN for guest door unlock, it’s really weird to show it with decimal places on the dashboard when it cannot by very nature use decimals.

1 Like

I can’t believe this still hasn’t been addressed. an option to use whole numbers instead of floats would be nice

input_select:
min:
max:
int: true / false
step:

that would be kinda good