-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
Modbus sensor min_value only allows positive values #109981
Comments
Hey there @janiversen, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) modbus documentation |
Hi there!
before 2024.2.0 it worked as expected, now I get this: I want my consumption to be displayed as negative, I have solars producing the energy in positive values, so it displays on the charts together in a logical way. I can always change the scale to positive, and then create a sensor with value template in configuration.yaml... Is there any other way I can negate the modbus sensor value? |
"scale" is different, and a PR have just been merged on dev. |
Thank you for the immediate fix @janiversen - can confirm everything is working as inteneded agin 👍🎉 |
The problem
With the 2024.2.0 update, i can no longer configure a negative
min_value
for modbus sensor entitties.Example config that was working with 2024.1.6
What version of Home Assistant Core has the issue?
2024.2.0
What was the last working version of Home Assistant Core?
2024.1.6
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
modbus
Link to integration documentation on our website
https://www.home-assistant.io/integrations/modbus/#configuring-sensor-entities
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: