@@ -4284,7 +4284,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict):
42844284 rounding = 1 ,
42854285 allowedtypes = AC | HYBRID ,
42864286 ),
4287- SolaXModbusSensorEntityDescription ( # unclear why we do not merge with next decl
4287+ SolaXModbusSensorEntityDescription (
42884288 name = "Inverter Power" ,
42894289 key = "inverter_power" ,
42904290 native_unit_of_measurement = UnitOfPower .WATT ,
@@ -4293,9 +4293,9 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict):
42934293 register = 0x2 ,
42944294 register_type = REG_INPUT ,
42954295 unit = REGISTER_S16 ,
4296- allowedtypes = AC | HYBRID | GEN2 | GEN3 | GEN4 | GEN6 ,
4296+ allowedtypes = AC | HYBRID | GEN2 | GEN3 | GEN4 ,
42974297 ),
4298- SolaXModbusSensorEntityDescription ( # unclear why we do not merge with previous decl
4298+ SolaXModbusSensorEntityDescription (
42994299 name = "Inverter Power" ,
43004300 key = "inverter_power" ,
43014301 native_unit_of_measurement = UnitOfPower .WATT ,
@@ -6793,7 +6793,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict):
67936793 native_unit_of_measurement = UnitOfPower .WATT ,
67946794 device_class = SensorDeviceClass .POWER ,
67956795 state_class = SensorStateClass .MEASUREMENT ,
6796- allowedtypes = AC | HYBRID | GEN5 | X3 ,
6796+ allowedtypes = AC | HYBRID | GEN5 | GEN6 | X3 ,
67976797 ),
67986798 SolaXModbusSensorEntityDescription (
67996799 name = "PV Power Total" ,
0 commit comments