diff --git a/custom_components/solax_modbus/plugin_solax_ev_charger.py b/custom_components/solax_modbus/plugin_solax_ev_charger.py index da73ae34c..ffb95d496 100644 --- a/custom_components/solax_modbus/plugin_solax_ev_charger.py +++ b/custom_components/solax_modbus/plugin_solax_ev_charger.py @@ -1118,6 +1118,19 @@ def value_function_sync_rtc_evc(initval: Any, descr: Any, datadict: dict[str, An native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR, device_class=SensorDeviceClass.ENERGY, state_class=SensorStateClass.TOTAL_INCREASING, + allowedtypes=GEN1, + ), + SolaXEVChargerModbusSensorEntityDescription( + name="Charge Added - Cumulative", + key="charge_added_cum", + register=0x10, + register_type=REG_INPUT, + register_data_type=REGISTER_U32, + scale=0.1, + native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR, + device_class=SensorDeviceClass.ENERGY, + state_class=SensorStateClass.TOTAL_INCREASING, + allowedtypes=GEN2, ), SolaXEVChargerModbusSensorEntityDescription( name="Charge Added Total",