Skip to content

Commit

Permalink
Change BatDsch.CurBatDsch identifier to `battery_power_discharge_to…
Browse files Browse the repository at this point in the history
…tal`

This matches the pattern used for `BatChrg.CurBatCha` and yields
plausible values with my SBSE4.

However, `BatDsch.CurBatDschArr.1` shares the same identifier now,
not sure if that's a good thing. The same happens for the charging
counterpart as well.
  • Loading branch information
tanuva committed Aug 10, 2024
1 parent 02d7ee9 commit 8f9db1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysma/definitions_ennexos.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@
Sensor("Bat.Diag.VolMax.1", None, factor=1, unit=None),
Sensor("BatDsch.BatDschArr.1", None, factor=1, unit=None),
Sensor("BatDsch.BatDsch", None, factor=1, unit=None),
Sensor("BatDsch.CurBatDsch", Identifier.battery_power_discharge_a, factor=1, unit="W"),
Sensor("BatDsch.CurBatDsch", Identifier.battery_power_discharge_total, factor=1, unit="W"),
Sensor("BatDsch.CurBatDschArr.1", Identifier.battery_discharge_total, factor=1, unit="W"),
Sensor("Bat.OpTms.1", None, factor=1, unit=None),
Sensor("Bat.Vol.1", Identifier.battery_voltage_a, factor=1, unit="V"),
Expand Down

0 comments on commit 8f9db1a

Please sign in to comment.