-
Is there an existing issue for this?
Current BehaviorI understand that the card shows the power battery discharge and charge direction and power based on the sign of the value passed by the sensor (must provide one sensor) Expected behaviourWith growatt you have 2 separate sensors both positive. if battery is discharging the specific sensor is positive and shows how much power the battery is giving to the load. If the battery is charging the discharging sensors is 0 and the charging one is higher than 0. Possible SolutionsIs it possible to have 2 separate sensors that show the battery power usage and hence the power direction from the battery? ModeBoth Context / Reasonadding capability for growatt inverter |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Hi. Quick fix is to just create a template sensor.
|
Beta Was this translation helpful? Give feedback.
-
Hi
But that doesn't work. Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
@Grosi001 not sure I understand. What template sensor are you trying to create? |
Beta Was this translation helpful? Give feedback.
-
@slipx06 Sorry if I expressed myself confusingly. I want the direction of flow to change when the battery is charging or discharging. Since the card does not recognize this itself, I have created a template that changes from true to false depending on the state (charging or discharging). Then I wanted to use this template with invert_power so that the flow direction changes. Maybe important: I'm using a inverter from Sungrow. |
Beta Was this translation helpful? Give feedback.
-
Hi. The direction is determined by the battery power. If it is either positive or negative. You should build you template sensor to adjust this value rather than try dynamically change the invert parameter. |
Beta Was this translation helpful? Give feedback.
-
I've added another battery attribute |
Beta Was this translation helpful? Give feedback.
Hi. Quick fix is to just create a template sensor.