@@ -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 ),
@@ -4674,7 +4674,7 @@ def value_function_bms_2_max_charge(initval: int, descr: Any, datadict: dict[str
46744674 1 : "Fit" ,
46754675 },
46764676 register = 0x107 ,
4677- allowedtypes = AC | HYBRID | GEN4 | GEN5 | GEN6 ,
4677+ allowedtypes = AC | HYBRID | GEN3 | GEN4 | GEN5 | GEN6 ,
46784678 entity_category = EntityCategory .DIAGNOSTIC ,
46794679 icon = "mdi:information" ,
46804680 ),
0 commit comments