Skip to content

Commit b4895fa

Browse files
committed
fix temperature and remaining capacity values scaling
1 parent fbf51c9 commit b4895fa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

custom_components/marstek_local_api/compatibility.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,15 @@ class CompatibilityMatrix:
101101
(HW_VERSION_2, 0): 1.0, # FW 0-153: raw value in °C
102102
(HW_VERSION_2, 154): 0.1, # FW 154+: raw value in deci-°C (÷0.1 = ×10)
103103
(HW_VERSION_3, 0): 1.0, # FW 0+: raw value in °C
104+
(HW_VERSION_3, 139): 10.0, # FW 0+: raw value in deca-°C (÷10)
104105
},
105106

106107
# Battery capacity (Wh)
107108
"bat_capacity": {
108109
(HW_VERSION_2, 0): 100.0, # FW 0-153: raw value in centi-Wh (÷100)
109110
(HW_VERSION_2, 154): 1.0, # FW 154+: raw value in Wh
110111
(HW_VERSION_3, 0): 1.0, # FW 0+: raw value in Wh
112+
(HW_VERSION_3, 139): 0.1, # FW 0+: raw value in deci-Wh (÷0.1)
111113
},
112114

113115
# Battery power (W)

0 commit comments

Comments
 (0)