mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Add device class for fuel sensor in StarLine integration (#143111)
This commit is contained in:
parent
3c1d93f503
commit
fa75b477e9
@ -61,6 +61,7 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
|
|||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key="fuel",
|
key="fuel",
|
||||||
translation_key="fuel",
|
translation_key="fuel",
|
||||||
|
device_class=SensorDeviceClass.VOLUME,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user