@@ -810,7 +810,8 @@ def value_function_inverter_module(initval: int, descr: Any, datadict: dict[str,
810810 native_max_value = 1440 ,
811811 native_step = 5 ,
812812 native_unit_of_measurement = UnitOfTime .MINUTES ,
813- allowedtypes = GEN3 | GEN4 ,
813+ allowedtypes = GEN3 | GEN4 | HYBRID ,
814+ ignore_readerror = True
814815 entity_category = EntityCategory .CONFIG ,
815816 entity_registry_enabled_default = True ,
816817 icon = "mdi:battery-clock" ,
@@ -824,7 +825,8 @@ def value_function_inverter_module(initval: int, descr: Any, datadict: dict[str,
824825 native_max_value = 100 ,
825826 native_step = 5 ,
826827 native_unit_of_measurement = PERCENTAGE ,
827- allowedtypes = GEN3 | GEN4 ,
828+ allowedtypes = GEN3 | GEN4 | HYBRID ,
829+ ignore_readerror = True
828830 entity_category = EntityCategory .CONFIG ,
829831 entity_registry_enabled_default = True ,
830832 icon = "mdi:battery-sync" ,
@@ -1118,7 +1120,8 @@ def value_function_inverter_module(initval: int, descr: Any, datadict: dict[str,
11181120 0 : "Disabled" ,
11191121 1 : "Enabled" ,
11201122 },
1121- allowedtypes = GEN3 | GEN4 ,
1123+ allowedtypes = GEN3 | GEN4 | HYBRID ,
1124+ ignore_readerror = True
11221125 entity_category = EntityCategory .CONFIG ,
11231126 entity_registry_enabled_default = True ,
11241127 icon = "mdi:dip-switch" ,
@@ -1131,7 +1134,8 @@ def value_function_inverter_module(initval: int, descr: Any, datadict: dict[str,
11311134 0 : "Disabled" ,
11321135 1 : "Enabled" ,
11331136 },
1134- allowedtypes = GEN3 | GEN4 ,
1137+ allowedtypes = GEN3 | GEN4 | HYBRID ,
1138+ ignore_readerror = True
11351139 entity_category = EntityCategory .CONFIG ,
11361140 entity_registry_enabled_default = True ,
11371141 icon = "mdi:dip-switch" ,
@@ -1146,6 +1150,7 @@ def value_function_inverter_module(initval: int, descr: Any, datadict: dict[str,
11461150 1 : "Enabled" ,
11471151 },
11481152 allowedtypes = GEN3 | GEN4 | HYBRID ,
1153+ ignore_readerror = True
11491154 entity_category = EntityCategory .CONFIG ,
11501155 entity_registry_enabled_default = True ,
11511156 icon = "mdi:dip-switch" ,
@@ -2308,7 +2313,8 @@ def value_function_inverter_module(initval: int, descr: Any, datadict: dict[str,
23082313 0 : "Disabled" ,
23092314 1 : "Enabled" ,
23102315 },
2311- allowedtypes = GEN3 | GEN4 ,
2316+ allowedtypes = GEN3 | GEN4 | HYBRID ,
2317+ ignore_readerror = True
23122318 internal = True ,
23132319 ),
23142320 GrowattModbusSensorEntityDescription (
@@ -2318,21 +2324,24 @@ def value_function_inverter_module(initval: int, descr: Any, datadict: dict[str,
23182324 0 : "Disabled" ,
23192325 1 : "Enabled" ,
23202326 },
2321- allowedtypes = GEN3 | GEN4 ,
2327+ allowedtypes = GEN3 | GEN4 | HYBRID ,
2328+ ignore_readerror = True
23222329 internal = True ,
23232330 ),
23242331 GrowattModbusSensorEntityDescription (
23252332 key = "vpp_time" ,
23262333 register = 30408 ,
2327- allowedtypes = GEN3 | GEN4 ,
2334+ allowedtypes = GEN3 | GEN4 | HYBRID ,
2335+ ignore_readerror = True
23282336 scale = 1 ,
23292337 internal = True ,
23302338 ),
23312339 GrowattModbusSensorEntityDescription (
23322340 key = "vpp_power" ,
23332341 register = 30409 ,
23342342 register_data_type = REGISTER_S16 ,
2335- allowedtypes = GEN3 | GEN4 ,
2343+ allowedtypes = GEN3 | GEN4 | HYBRID ,
2344+ ignore_readerror = True
23362345 scale = 1 ,
23372346 internal = True ,
23382347 ),
@@ -2345,6 +2354,7 @@ def value_function_inverter_module(initval: int, descr: Any, datadict: dict[str,
23452354 1 : "Enabled" ,
23462355 },
23472356 allowedtypes = GEN3 | GEN4 | HYBRID ,
2357+ ignore_readerror = True
23482358 internal = True ,
23492359 ),
23502360 GrowattModbusSensorEntityDescription (
@@ -2354,7 +2364,8 @@ def value_function_inverter_module(initval: int, descr: Any, datadict: dict[str,
23542364 device_class = SensorDeviceClass .BATTERY ,
23552365 register = 31218 ,
23562366 register_type = REG_INPUT ,
2357- allowedtypes = GEN3 ,
2367+ allowedtypes = GEN3 | GEN4 | HYBRID ,
2368+ ignore_readerror = True
23582369 entity_category = EntityCategory .DIAGNOSTIC ,
23592370 entity_registry_enabled_default = True ,
23602371 icon = "mdi:information" ,
0 commit comments