Input number adding decimal to value issue

Looks like this issue was brought up before but it’s still happening.
All of my input numbers have an added decimal. I’m trying to use that number in other areas and have errors because this.

Why development ?

Can you post a definition of an input_number you are experiencing problems with.?
Is your problem simply display or use in system / automation ?

Eg the use you are having problems with any associated code.

50%20PM
16%20PM
32%20PM

The command I’m sending with the input number does not support/expect a decimal in the number.

Sorry, I mean the actual definition that is stored in the text file.
I’d just be guessing but maybe it’s still in your configuration.yaml ??? :man_shrugging:

Why do you have your Fire TV timeout in 16.667 hour steps ?
You use MQTT so you may have to wait for a specialist like Tom, finity or pnbruckner

  sleep_timeout:
    name: Fire TV Sleep Timeout
    min: 0
    max: 2147460000
    step: 60000

That should NOT give you a decimal.
Try {{ states(‘input_number.sleep_timeout’) | int }}

with or without outlying doubles quotes "

I’d be stabbing in the dark with other ‘string’ manipulation alternatives like [-0:-2], so you’d be better waiting for someone else, sorry

Ya it seems weird, if you look at my first post there was an issue opened but it doesn’t look like it was ever resolved.

I have 69 input numbers in my system, only 5 of them set with decimal places.
I have no problems with any of them :man_shrugging:

What does the state show as in Developer Tools?
I think it’s being showed and used as a string and not the number.

I setup up a flow in Node Red and used the “number” from the entity state and had no problems. I wouldn’t have thought that I would have to convert an input number from a string to a number to use it.

All values are stored as strings, hence why we have to cast them as int (integers) or float (floating decimals)