power-flow-card-plus icon indicating copy to clipboard operation
power-flow-card-plus copied to clipboard

[SUPPORT] Grid power indicates production/consumption with seperate sensor

Open smartroad opened this issue 1 year ago • 1 comments

Hi! Not sure if there is a solution for this, but my power sensor is able to detect power going in and out. The power figure is always positive and it has a separate "Energy Flow" sensor that states if the house is "Consuming" or "Producing"

I can setup a helper and script that will monitor and create a positive/negative number, but is there a way to have the card see the direction of flow directly?

At the moment the card thinks the house is consuming 1.7KW but really I am generating 1KW from solar and 650W is being exported.

image

smartroad avatar Feb 24 '24 10:02 smartroad

Maybe you can set the "Invert State" (Code-Editor) depending on the value of "Energy flow".

philippk80 avatar Apr 25 '24 06:04 philippk80