Skip to content

Commit

Permalink
Fix Remaining Battery Capacity device class
Browse files Browse the repository at this point in the history
  • Loading branch information
prehor authored Dec 4, 2024
1 parent a445360 commit 48a9397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solax_modbus/plugin_solax.py
Original file line number Diff line number Diff line change
Expand Up @@ -5243,7 +5243,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict):
name = "Remaining Battery Capacity",
key = "remaining_battery_capacity",
native_unit_of_measurement = UnitOfEnergy.WATT_HOUR,
device_class = SensorDeviceClass.ENERGY,
device_class = SensorDeviceClass.ENERGY_STORAGE,
state_class = SensorStateClass.MEASUREMENT,
entity_registry_enabled_default = False,
register = 0x118,
Expand Down

0 comments on commit 48a9397

Please sign in to comment.