Fix Growatt missing state class (#81980)

Growatt - Fix #80003 - Add missing state class
This commit is contained in:
muppet3000
2022-11-11 22:01:15 +00:00
committed by GitHub
parent 1baa5c12c0
commit 380ae12997

View File

@@ -20,6 +20,7 @@ TLX_SENSOR_TYPES: tuple[GrowattSensorEntityDescription, ...] = (
api_key="eacToday",
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
device_class=SensorDeviceClass.ENERGY,
state_class=SensorStateClass.TOTAL_INCREASING,
precision=1,
),
GrowattSensorEntityDescription(