Skip to content

Commit 35f4c89

Browse files
authored
Update plugin_solinteg.py
1 parent 455c79c commit 35f4c89

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

custom_components/solax_modbus/plugin_solinteg.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,7 @@ class SolintegModbusSensorEntityDescription(BaseModbusSensorEntityDescription):
11761176
key="battery_soc",
11771177
native_unit_of_measurement=PERCENTAGE,
11781178
device_class=SensorDeviceClass.BATTERY,
1179+
state_class=SensorStateClass.MEASUREMENT,
11791180
register=33000,
11801181
scale=0.01,
11811182
rounding=2,

0 commit comments

Comments
 (0)