mirror of
https://github.com/home-assistant/core.git
synced 2025-12-20 02:48:57 +00:00
Starline: remove device_class for fuel level (#154964)
This commit is contained in:
@@ -61,7 +61,7 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
|
||||
SensorEntityDescription(
|
||||
key="fuel",
|
||||
translation_key="fuel",
|
||||
device_class=SensorDeviceClass.VOLUME,
|
||||
# No device_class: fuel can be reported as percentage or volume depending on vehicle
|
||||
state_class=SensorStateClass.TOTAL,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
|
||||
Reference in New Issue
Block a user