@@ -2421,7 +2421,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
24212421 rounding = 1 ,
24222422 allowedtypes = HYBRID ,
24232423 # entity_registry_enabled_default=False,
2424- entity_category = EntityCategory .CONFIG ,
2424+ entity_category = EntityCategory .DIAGNOSTIC ,
24252425 ),
24262426 SolisModbusSensorEntityDescription (
24272427 name = "Battery Charge Current" ,
@@ -2434,7 +2434,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
24342434 rounding = 1 ,
24352435 allowedtypes = HYBRID ,
24362436 # entity_registry_enabled_default=False,
2437- entity_category = EntityCategory .CONFIG ,
2437+ entity_category = EntityCategory .DIAGNOSTIC ,
24382438 ),
24392439 SolisModbusSensorEntityDescription (
24402440 name = "Battery Discharge Current" ,
@@ -2447,7 +2447,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
24472447 rounding = 1 ,
24482448 # entity_registry_enabled_default=False,
24492449 allowedtypes = HYBRID ,
2450- entity_category = EntityCategory .CONFIG ,
2450+ entity_category = EntityCategory .DIAGNOSTIC ,
24512451 ),
24522452 SolisModbusSensorEntityDescription (
24532453 name = "Timed Charge Current" ,
@@ -2460,7 +2460,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
24602460 rounding = 1 ,
24612461 # entity_registry_enabled_default=False,
24622462 allowedtypes = HYBRID ,
2463- entity_category = EntityCategory .CONFIG ,
2463+ entity_category = EntityCategory .DIAGNOSTIC ,
24642464 ),
24652465 SolisModbusSensorEntityDescription (
24662466 name = "Timed Discharge Current" ,
@@ -2473,7 +2473,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
24732473 rounding = 1 ,
24742474 # entity_registry_enabled_default=False,
24752475 allowedtypes = HYBRID ,
2476- entity_category = EntityCategory .CONFIG ,
2476+ entity_category = EntityCategory .DIAGNOSTIC ,
24772477 ),
24782478 SolisModbusSensorEntityDescription (
24792479 name = "Timed Charge Start Hours" ,
@@ -2482,7 +2482,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
24822482 native_unit_of_measurement = UnitOfTime .HOURS ,
24832483 # entity_registry_enabled_default=False,
24842484 allowedtypes = HYBRID ,
2485- entity_category = EntityCategory .CONFIG ,
2485+ entity_category = EntityCategory .DIAGNOSTIC ,
24862486 icon = "mdi:battery-clock" ,
24872487 ),
24882488 SolisModbusSensorEntityDescription (
@@ -2492,7 +2492,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
24922492 native_unit_of_measurement = UnitOfTime .MINUTES ,
24932493 # entity_registry_enabled_default=False,
24942494 allowedtypes = HYBRID ,
2495- entity_category = EntityCategory .CONFIG ,
2495+ entity_category = EntityCategory .DIAGNOSTIC ,
24962496 icon = "mdi:battery-clock" ,
24972497 ),
24982498 SolisModbusSensorEntityDescription (
@@ -2502,7 +2502,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
25022502 native_unit_of_measurement = UnitOfTime .HOURS ,
25032503 # entity_registry_enabled_default=False,
25042504 allowedtypes = HYBRID ,
2505- entity_category = EntityCategory .CONFIG ,
2505+ entity_category = EntityCategory .DIAGNOSTIC ,
25062506 icon = "mdi:battery-clock" ,
25072507 ),
25082508 SolisModbusSensorEntityDescription (
@@ -2512,7 +2512,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
25122512 native_unit_of_measurement = UnitOfTime .MINUTES ,
25132513 # entity_registry_enabled_default=False,
25142514 allowedtypes = HYBRID ,
2515- entity_category = EntityCategory .CONFIG ,
2515+ entity_category = EntityCategory .DIAGNOSTIC ,
25162516 icon = "mdi:battery-clock" ,
25172517 ),
25182518 SolisModbusSensorEntityDescription (
@@ -2522,7 +2522,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
25222522 native_unit_of_measurement = UnitOfTime .HOURS ,
25232523 # entity_registry_enabled_default=False,
25242524 allowedtypes = HYBRID ,
2525- entity_category = EntityCategory .CONFIG ,
2525+ entity_category = EntityCategory .DIAGNOSTIC ,
25262526 icon = "mdi:battery-clock" ,
25272527 ),
25282528 SolisModbusSensorEntityDescription (
@@ -2532,7 +2532,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
25322532 native_unit_of_measurement = UnitOfTime .MINUTES ,
25332533 # entity_registry_enabled_default=False,
25342534 allowedtypes = HYBRID ,
2535- entity_category = EntityCategory .CONFIG ,
2535+ entity_category = EntityCategory .DIAGNOSTIC ,
25362536 icon = "mdi:battery-clock" ,
25372537 ),
25382538 SolisModbusSensorEntityDescription (
@@ -2542,7 +2542,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
25422542 # native_unit_of_measurement=UnitOfTime.HOURS,
25432543 entity_registry_enabled_default = False ,
25442544 allowedtypes = HYBRID ,
2545- entity_category = EntityCategory .CONFIG ,
2545+ entity_category = EntityCategory .DIAGNOSTIC ,
25462546 icon = "mdi:battery-clock" ,
25472547 ),
25482548 SolisModbusSensorEntityDescription (
@@ -2552,7 +2552,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
25522552 native_unit_of_measurement = UnitOfTime .MINUTES ,
25532553 # entity_registry_enabled_default=False,
25542554 allowedtypes = HYBRID ,
2555- entity_category = EntityCategory .CONFIG ,
2555+ entity_category = EntityCategory .DIAGNOSTIC ,
25562556 icon = "mdi:battery-clock" ,
25572557 ),
25582558 # ============================ TimeSlot2 ==============================
@@ -2563,7 +2563,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
25632563 native_unit_of_measurement = UnitOfTime .HOURS ,
25642564 # entity_registry_enabled_default=False,
25652565 allowedtypes = HYBRID ,
2566- entity_category = EntityCategory .CONFIG ,
2566+ entity_category = EntityCategory .DIAGNOSTIC ,
25672567 icon = "mdi:battery-clock" ,
25682568 ),
25692569 SolisModbusSensorEntityDescription (
@@ -2573,7 +2573,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
25732573 native_unit_of_measurement = UnitOfTime .MINUTES ,
25742574 # entity_registry_enabled_default=False,
25752575 allowedtypes = HYBRID ,
2576- entity_category = EntityCategory .CONFIG ,
2576+ entity_category = EntityCategory .DIAGNOSTIC ,
25772577 icon = "mdi:battery-clock" ,
25782578 ),
25792579 SolisModbusSensorEntityDescription (
@@ -2583,7 +2583,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
25832583 native_unit_of_measurement = UnitOfTime .HOURS ,
25842584 # entity_registry_enabled_default=False,
25852585 allowedtypes = HYBRID ,
2586- entity_category = EntityCategory .CONFIG ,
2586+ entity_category = EntityCategory .DIAGNOSTIC ,
25872587 icon = "mdi:battery-clock" ,
25882588 ),
25892589 SolisModbusSensorEntityDescription (
@@ -2593,7 +2593,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
25932593 native_unit_of_measurement = UnitOfTime .MINUTES ,
25942594 # entity_registry_enabled_default=False,
25952595 allowedtypes = HYBRID ,
2596- entity_category = EntityCategory .CONFIG ,
2596+ entity_category = EntityCategory .DIAGNOSTIC ,
25972597 icon = "mdi:battery-clock" ,
25982598 ),
25992599 SolisModbusSensorEntityDescription (
@@ -2603,7 +2603,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
26032603 native_unit_of_measurement = UnitOfTime .HOURS ,
26042604 # entity_registry_enabled_default=False,
26052605 allowedtypes = HYBRID ,
2606- entity_category = EntityCategory .CONFIG ,
2606+ entity_category = EntityCategory .DIAGNOSTIC ,
26072607 icon = "mdi:battery-clock" ,
26082608 ),
26092609 SolisModbusSensorEntityDescription (
@@ -2613,7 +2613,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
26132613 native_unit_of_measurement = UnitOfTime .MINUTES ,
26142614 # entity_registry_enabled_default=False,
26152615 allowedtypes = HYBRID ,
2616- entity_category = EntityCategory .CONFIG ,
2616+ entity_category = EntityCategory .DIAGNOSTIC ,
26172617 icon = "mdi:battery-clock" ,
26182618 ),
26192619 SolisModbusSensorEntityDescription (
@@ -2623,7 +2623,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
26232623 native_unit_of_measurement = UnitOfTime .HOURS ,
26242624 # entity_registry_enabled_default=False,
26252625 allowedtypes = HYBRID ,
2626- entity_category = EntityCategory .CONFIG ,
2626+ entity_category = EntityCategory .DIAGNOSTIC ,
26272627 icon = "mdi:battery-clock" ,
26282628 ),
26292629 SolisModbusSensorEntityDescription (
@@ -2633,7 +2633,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
26332633 native_unit_of_measurement = UnitOfTime .MINUTES ,
26342634 # entity_registry_enabled_default=False,
26352635 allowedtypes = HYBRID ,
2636- entity_category = EntityCategory .CONFIG ,
2636+ entity_category = EntityCategory .DIAGNOSTIC ,
26372637 icon = "mdi:battery-clock" ,
26382638 ),
26392639 # ============================ TimeSlot3 ==============================
@@ -2644,7 +2644,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
26442644 native_unit_of_measurement = UnitOfTime .HOURS ,
26452645 # entity_registry_enabled_default=False,
26462646 allowedtypes = HYBRID ,
2647- entity_category = EntityCategory .CONFIG ,
2647+ entity_category = EntityCategory .DIAGNOSTIC ,
26482648 icon = "mdi:battery-clock" ,
26492649 ),
26502650 SolisModbusSensorEntityDescription (
@@ -2654,7 +2654,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
26542654 native_unit_of_measurement = UnitOfTime .MINUTES ,
26552655 # entity_registry_enabled_default=False,
26562656 allowedtypes = HYBRID ,
2657- entity_category = EntityCategory .CONFIG ,
2657+ entity_category = EntityCategory .DIAGNOSTIC ,
26582658 icon = "mdi:battery-clock" ,
26592659 ),
26602660 SolisModbusSensorEntityDescription (
@@ -2664,7 +2664,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
26642664 native_unit_of_measurement = UnitOfTime .HOURS ,
26652665 # entity_registry_enabled_default=False,
26662666 allowedtypes = HYBRID ,
2667- entity_category = EntityCategory .CONFIG ,
2667+ entity_category = EntityCategory .DIAGNOSTIC ,
26682668 icon = "mdi:battery-clock" ,
26692669 ),
26702670 SolisModbusSensorEntityDescription (
@@ -2674,7 +2674,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
26742674 native_unit_of_measurement = UnitOfTime .MINUTES ,
26752675 # entity_registry_enabled_default=False,
26762676 allowedtypes = HYBRID ,
2677- entity_category = EntityCategory .CONFIG ,
2677+ entity_category = EntityCategory .DIAGNOSTIC ,
26782678 icon = "mdi:battery-clock" ,
26792679 ),
26802680 SolisModbusSensorEntityDescription (
@@ -2684,7 +2684,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
26842684 native_unit_of_measurement = UnitOfTime .HOURS ,
26852685 # entity_registry_enabled_default=False,
26862686 allowedtypes = HYBRID ,
2687- entity_category = EntityCategory .CONFIG ,
2687+ entity_category = EntityCategory .DIAGNOSTIC ,
26882688 icon = "mdi:battery-clock" ,
26892689 ),
26902690 SolisModbusSensorEntityDescription (
@@ -2694,7 +2694,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
26942694 native_unit_of_measurement = UnitOfTime .MINUTES ,
26952695 # entity_registry_enabled_default=False,
26962696 allowedtypes = HYBRID ,
2697- entity_category = EntityCategory .CONFIG ,
2697+ entity_category = EntityCategory .DIAGNOSTIC ,
26982698 icon = "mdi:battery-clock" ,
26992699 ),
27002700 SolisModbusSensorEntityDescription (
@@ -2704,7 +2704,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
27042704 native_unit_of_measurement = UnitOfTime .HOURS ,
27052705 # entity_registry_enabled_default=False,
27062706 allowedtypes = HYBRID ,
2707- entity_category = EntityCategory .CONFIG ,
2707+ entity_category = EntityCategory .DIAGNOSTIC ,
27082708 icon = "mdi:battery-clock" ,
27092709 ),
27102710 SolisModbusSensorEntityDescription (
@@ -2714,7 +2714,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
27142714 native_unit_of_measurement = UnitOfTime .MINUTES ,
27152715 # entity_registry_enabled_default=False,
27162716 allowedtypes = HYBRID ,
2717- entity_category = EntityCategory .CONFIG ,
2717+ entity_category = EntityCategory .DIAGNOSTIC ,
27182718 icon = "mdi:battery-clock" ,
27192719 ),
27202720 SolisModbusSensorEntityDescription (
@@ -2724,7 +2724,7 @@ def value_function_pv4_power(initval: int, descr: Any, datadict: dict[str, Any])
27242724 icon = "mdi:switch" ,
27252725 entity_registry_enabled_default = True ,
27262726 allowedtypes = HYBRID ,
2727- # entity_category=EntityCategory.CONFIG ,
2727+ # entity_category=EntityCategory.DIAGNOSTIC ,
27282728 ),
27292729]
27302730
0 commit comments