Skip to content

Commit

Permalink
fix: Integrate suggested change for battery storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Luehr committed Apr 29, 2024
1 parent 08e4067 commit df20fc5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion solax/inverters/x3_ultra.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ def response_decoder(cls):
div100,
),
"Battery Remaining Capacity": (158, Units.PERCENT),
"Battery Remaining Energy": (106, Measurement(Units.KWH), div10),
"Battery Remaining Energy": (
106,
Measurement(Units.KWH, storage=True),
div10,
),
"Inverter Power": (159, Units.W, div10),
}

Expand Down

0 comments on commit df20fc5

Please sign in to comment.