Fix sensor state class for fuel sensor in StarLine integration (#146769)

This commit is contained in:
Pavel Skuratovich 2025-06-25 15:34:11 +03:00 committed by GitHub
parent 8918b0d7a9
commit 8393f17bb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
key="fuel", key="fuel",
translation_key="fuel", translation_key="fuel",
device_class=SensorDeviceClass.VOLUME, device_class=SensorDeviceClass.VOLUME,
state_class=SensorStateClass.MEASUREMENT, state_class=SensorStateClass.TOTAL,
), ),
SensorEntityDescription( SensorEntityDescription(
key="errors", key="errors",