Skip to content

Commit

Permalink
grid.delivery is lower production
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Ott <[email protected]>
  • Loading branch information
DerOetzi committed Jan 6, 2024
1 parent a164f42 commit 8aa607e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solaredge2mqtt/models/powerflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def is_valid(self) -> bool:
self.battery.is_valid,
self.consumer.is_valid,
self.pv_production >= 0,
self.grid.delivery <= self.inverter.power,
self.grid.delivery <= self.inverter.production,
]
)

Expand Down

0 comments on commit 8aa607e

Please sign in to comment.