Add battery device class to Glances battery sensor (#86278)
This commit is contained in:
parent
ae39b95bb1
commit
db6cacafcb
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ SENSOR_TYPES: tuple[GlancesSensorEntityDescription, ...] = (
|
|||
type="sensors",
|
||||
name_suffix="Charge",
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
device_class=SensorDeviceClass.BATTERY,
|
||||
icon="mdi:battery",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue