We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6255788 + 39d3480 commit 6574810Copy full SHA for 6574810
pylontech/pylontech.py
@@ -66,8 +66,8 @@ class Pylontech:
66
)
67
68
management_info_fmt = construct.Struct(
69
- "ChargeVoltageLimit" / DivideBy1000(construct.Int16sb),
70
- "DischargeVoltageLimit" / DivideBy1000(construct.Int16sb),
+ "ChargeVoltageLimit" / DivideBy1000(construct.Int16ub),
+ "DischargeVoltageLimit" / DivideBy1000(construct.Int16ub),
71
"ChargeCurrentLimit" / ToAmp(construct.Int16sb),
72
"DischargeCurrentLimit" / ToAmp(construct.Int16sb),
73
"status"
0 commit comments