Skip to content

Commit ecfa291

Browse files
authored
Merge pull request #866 from MartB/main
H3_180: use proper cell mv registers
2 parents 51c6319 + 5f700c0 commit ecfa291

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

custom_components/foxess_modbus/entities/entity_descriptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,12 +2432,12 @@ def _inner(
24322432
bms_cell_mv_high=[
24332433
ModbusAddressesSpec(input=[11045], models=Inv.H1_G1 | Inv.KH_PRE119),
24342434
ModbusAddressesSpec(holding=[37619], models=Inv.H1_G2_144 | Inv.KH_133),
2435-
ModbusAddressesSpec(holding=[31100], models=Inv.H3_180),
2435+
ModbusAddressesSpec(holding=[31134], models=Inv.H3_180),
24362436
],
24372437
bms_cell_mv_low=[
24382438
ModbusAddressesSpec(input=[11046], models=Inv.H1_G1 | Inv.KH_PRE119),
24392439
ModbusAddressesSpec(holding=[37620], models=Inv.H1_G2_144 | Inv.KH_133),
2440-
ModbusAddressesSpec(holding=[31101], models=Inv.H3_180),
2440+
ModbusAddressesSpec(holding=[31135], models=Inv.H3_180),
24412441
],
24422442
bms_kwh_remaining=[
24432443
ModbusAddressesSpec(input=[11037], models=Inv.H1_G1 | Inv.KH_PRE119),

tests/__snapshots__/test_entity_descriptions/test_entities[AC3-AUX-latest].json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
},
124124
{
125125
"addresses": [
126-
31100
126+
31134
127127
],
128128
"key": "bms_cell_mv_high",
129129
"name": "BMS Cell mV High",
@@ -133,7 +133,7 @@
133133
},
134134
{
135135
"addresses": [
136-
31101
136+
31135
137137
],
138138
"key": "bms_cell_mv_low",
139139
"name": "BMS Cell mV Low",

tests/__snapshots__/test_entity_descriptions/test_entities[H3-AUX-latest].json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
},
124124
{
125125
"addresses": [
126-
31100
126+
31134
127127
],
128128
"key": "bms_cell_mv_high",
129129
"name": "BMS Cell mV High",
@@ -133,7 +133,7 @@
133133
},
134134
{
135135
"addresses": [
136-
31101
136+
31135
137137
],
138138
"key": "bms_cell_mv_low",
139139
"name": "BMS Cell mV Low",

0 commit comments

Comments
 (0)