Fix Growatt missing state class (#81980)

Growatt - Fix #80003 - Add missing state class
pull/81987/head
muppet3000 2022-11-11 22:01:15 +00:00 committed by GitHub
parent 1baa5c12c0
commit 380ae12997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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(