Skip to content

Commit ad01f3f

Browse files
committed
poller: home assistant pushes
1 parent f2bc468 commit ad01f3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pylontechpoller/poller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def minimize_module(m: json) -> json:
6060
"ts": b["timestamp"],
6161
"cvmin": min_pair,
6262
"cvmax": max_pair,
63-
"stack_disbalance": min_pair[1] - max_pair[1],
63+
"stack_disbalance": max_pair[1] - min_pair[1],
6464
"max_module_disbalance": max_disbalance,
6565
"modules": list(map(minimize_module, modules)),
6666
}

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)