Skip to content

Commit

Permalink
Change identifier of BatDsch.CurBatDschArr.1 to `battery_power_disc…
Browse files Browse the repository at this point in the history
…harge_total`

This is a current power value, not total energy.

The identifier is the same as `BatDsch.CurBatDsch` now though, that
doesn't seem right.
  • Loading branch information
tanuva committed Aug 10, 2024
1 parent 8f9db1a commit 2f26e55
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 @@ -830,7 +830,7 @@
Sensor("BatDsch.BatDschArr.1", None, factor=1, unit=None),
Sensor("BatDsch.BatDsch", None, factor=1, unit=None),
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("BatDsch.CurBatDschArr.1", Identifier.battery_power_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"),
Sensor("ChaSess.WhIn", None, factor=1, unit=None),
Expand Down

0 comments on commit 2f26e55

Please sign in to comment.