Skip to content

Commit 6f9d628

Browse files
committed
Remove x10 scaling from SolaX GEN3 Export Limit
Based on the Solax Hybrid Gen 3 Modbus RTU V3.21 documents, the X3 GEN3 inverters do not include x10 scaling on the user export limit.
1 parent f378b5c commit 6f9d628

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

custom_components/solax_modbus/plugin_solax.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2157,7 +2157,7 @@ def value_function_bms_2_max_charge(initval: int, descr: Any, datadict: dict[str
21572157
native_step=100,
21582158
native_unit_of_measurement=UnitOfPower.WATT,
21592159
device_class=NumberDeviceClass.POWER,
2160-
allowedtypes=AC | HYBRID | GEN | GEN2,
2160+
allowedtypes=AC | HYBRID | GEN | GEN2 | GEN3,
21612161
max_exceptions=MAX_EXPORT,
21622162
icon="mdi:home-export-outline",
21632163
),
@@ -2171,7 +2171,7 @@ def value_function_bms_2_max_charge(initval: int, descr: Any, datadict: dict[str
21712171
native_step=100,
21722172
native_unit_of_measurement=UnitOfPower.WATT,
21732173
device_class=NumberDeviceClass.POWER,
2174-
allowedtypes=AC | HYBRID | GEN3 | GEN4 | GEN5 | GEN6 | X1,
2174+
allowedtypes=AC | HYBRID | GEN4 | GEN5 | GEN6 | X1,
21752175
max_exceptions=MAX_EXPORT,
21762176
icon="mdi:home-export-outline",
21772177
),
@@ -2186,7 +2186,7 @@ def value_function_bms_2_max_charge(initval: int, descr: Any, datadict: dict[str
21862186
native_step=100,
21872187
native_unit_of_measurement=UnitOfPower.WATT,
21882188
device_class=NumberDeviceClass.POWER,
2189-
allowedtypes=AC | HYBRID | GEN3 | GEN4 | GEN5 | GEN6 | X3,
2189+
allowedtypes=AC | HYBRID | GEN4 | GEN5 | GEN6 | X3,
21902190
max_exceptions=MAX_EXPORT,
21912191
icon="mdi:home-export-outline",
21922192
),
@@ -4426,19 +4426,19 @@ def value_function_bms_2_max_charge(initval: int, descr: Any, datadict: dict[str
44264426
SolaXModbusSensorEntityDescription(
44274427
key="export_control_user_limit",
44284428
register=0xB6,
4429-
allowedtypes=AC | HYBRID | GEN2,
4429+
allowedtypes=AC | HYBRID | GEN2 | GEN3,
44304430
internal=True,
44314431
),
44324432
SolaXModbusSensorEntityDescription(
44334433
key="export_control_user_limit",
44344434
register=0xB6,
4435-
allowedtypes=AC | HYBRID | GEN3 | GEN4 | GEN5 | GEN6 | X1,
4435+
allowedtypes=AC | HYBRID | GEN4 | GEN5 | GEN6 | X1,
44364436
internal=True,
44374437
),
44384438
SolaXModbusSensorEntityDescription(
44394439
key="export_control_user_limit",
44404440
register=0xB6,
4441-
allowedtypes=AC | HYBRID | GEN3 | GEN4 | GEN5 | GEN6 | X3,
4441+
allowedtypes=AC | HYBRID | GEN4 | GEN5 | GEN6 | X3,
44424442
scale=10,
44434443
internal=True,
44444444
),

0 commit comments

Comments
 (0)