Skip to content

Commit

Permalink
Fix Battery Power using unsigned int (X1 Gen4)
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Jun 20, 2024
1 parent fedda9d commit 6e38e89
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 6e38e89

Please sign in to comment.