Skip to content

Commit

Permalink
Sunwoda battery settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinvdZee committed Dec 20, 2024
1 parent 0a78448 commit a8933db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion delegates/batterysettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
BATTERY_PYTES = 0xB01B
BATTERY_LEOCH = 0xB01D
BATTERY_LBSA = 0xB01E
BATTERY_SUNWODA = 0xB01F
BATTERY_BATRIUM_D = 0xB038

class BatterySettings(SystemCalcDelegate):
Expand All @@ -48,7 +49,7 @@ def apply_battery_settings(self, service):
# for some batteries.
if pid in (BATTERY_PYLONTECH, BATTERY_BYD, BATTERY_BYD_L, BATTERY_BYD_PREMIUM,
BATTERY_DISCOVER_AES, BATTERY_BLUENOVA, BATTERY_PYTES, BATTERY_LEOCH, BATTERY_LBSA,
BATTERY_BSLBATT, BATTERY_BMZ, BATTERY_CEGASA, BATTERY_PELIO_L, BATTERY_ZYC):
BATTERY_BSLBATT, BATTERY_BMZ, BATTERY_CEGASA, BATTERY_PELIO_L, BATTERY_ZYC, BATTERY_SUNWODA):
self._settings['vsense'] = 2 # Forced Off
self._settings['tsense'] = 2 # Forced Off
self._settings['bol'] = 3 # Forced on
Expand Down

0 comments on commit a8933db

Please sign in to comment.