Skip to content

Commit

Permalink
Fix Battery Power using unsigned int (X1 Gen4) (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc authored Nov 23, 2024
1 parent 4659513 commit 28ef56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solax/inverters/x1_hybrid_gen4.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def response_decoder(cls):
"On-grid daily yield": (13, DailyTotal(Units.KWH), div10),
"Battery voltage": (14, Units.V, div100),
"Battery current": (15, Units.A, div100),
"Battery power": (16, Units.W),
"Battery power": (16, Units.W, to_signed),
"Battery temperature": (17, Units.C),
"Battery SoC": (18, Units.PERCENT),
"Inverter Temperature": (26, Units.C),
Expand Down

0 comments on commit 28ef56a

Please sign in to comment.