@@ -4374,6 +4374,18 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict):
43744374 allowedtypes = AC | HYBRID | GEN2 | GEN3 | GEN4 ,
43754375 entity_category = EntityCategory .DIAGNOSTIC ,
43764376 ),
4377+ SolaXModbusSensorEntityDescription (
4378+ name = "Inverter Temperature" ,
4379+ key = "inverter_temperature" ,
4380+ native_unit_of_measurement = UnitOfTemperature .CELSIUS ,
4381+ device_class = SensorDeviceClass .TEMPERATURE ,
4382+ state_class = SensorStateClass .MEASUREMENT ,
4383+ register = 0x8 ,
4384+ register_type = REG_INPUT ,
4385+ unit = REGISTER_S16 ,
4386+ allowedtypes = AC | HYBRID | GEN5 | X1 ,
4387+ entity_category = EntityCategory .DIAGNOSTIC ,
4388+ ),
43774389 SolaXModbusSensorEntityDescription (
43784390 name = "Inverter Temperature" ,
43794391 key = "inverter_temperature" ,
@@ -4384,7 +4396,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict):
43844396 register_type = REG_INPUT ,
43854397 scale = 0.1 ,
43864398 unit = REGISTER_S16 ,
4387- allowedtypes = AC | HYBRID | GEN5 ,
4399+ allowedtypes = AC | HYBRID | GEN5 | X3 ,
43884400 entity_category = EntityCategory .DIAGNOSTIC ,
43894401 ),
43904402 SolaXModbusSensorEntityDescription (
0 commit comments