Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong values for input number helper when incrementing in 0.01 steps #114329

Open
pjoester opened this issue Mar 27, 2024 · 1 comment
Open

wrong values for input number helper when incrementing in 0.01 steps #114329

pjoester opened this issue Mar 27, 2024 · 1 comment

Comments

@pjoester
Copy link

pjoester commented Mar 27, 2024

The problem

I use the input number helper for tracking our gas consumption.
An automation has an action to increment the input number value. This should be done in 0.01 steps like it is configured in the settings of the input number helper:
inputnumberconfig

This works fine for a while but sometimes the incrementation is done in 0,0000000001 steps so the result is a wrong value for my gas meter:
wrongvalue

I was able to reproduce this behaviour with another input number helper which was incremented every second. After a few minutes the error already occured.

What version of Home Assistant Core has the issue?

2024.3.0

What was the last working version of Home Assistant Core?

never worked before

What type of installation are you running?

Home Assistant OS

Integration causing the issue

input_number

Link to integration documentation on our website

https://www.home-assistant.io/integrations/input_number/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (input_number) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of input_number can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign input_number Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


input_number documentation
input_number source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant