Correct Goalzero sensor state class (#96122)

This commit is contained in:
Robert Hillis 2023-07-08 02:52:15 -04:00 committed by GitHub
parent a6fe53f2b3
commit 8bfac2c46c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
name="Wh stored",
device_class=SensorDeviceClass.ENERGY,
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
state_class=SensorStateClass.MEASUREMENT,
state_class=SensorStateClass.TOTAL,
),
SensorEntityDescription(
key="volts",