Energy Dashboard: allow positive values for power production #1915
Replies: 5 comments 2 replies
-
|
To add to this, not only limit this to the grid sensors. My battery system also has 2 positive sensors to track both charging and discharging power. |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
-
|
This is same for my PV inverter. The integration correctly shows minus values for battery when it is discharging and positive values when charging. Also it would be nice to support two sensors for the grid. The dashboard already supports two sensors for the amount of energy (import/export), so why only support single sensor for power? |
Beta Was this translation helpful? Give feedback.
-
|
I have the same issue using the SolaX Modbus HACS integration whereby both grid and battery sensors have opposite polarity. As a temporary workaround, I've created a template sensor to negate the values, but this seems rather clunky. I've proposed the following PR that adds the option to invert the polarity when adding the power sensor to the energy dashboard: home-assistant/frontend#28397 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the enhancement
When providing the new power values for Grid in 2025.12 the Energy Dashboards expects a positive value for consumption (from grid) and a negative value for production (to grid).
However the DSMR integration I use doesn't have a sensor for the net value, and it provides the production as a positive value. Right now I created a template sensor turning it negative, but I don't have any historical data for this sensor now.
It would be great if there would be an option when adding a power sensor for grid to indicate that it should be treated as a negative value (or inverted).
Use cases
Adding power sensors for production (to grid) when they are a positive value.
Visual examples
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions