Use REVOLUTIONS_PER_MINUTE constant in glances (#79988)
This commit is contained in:
parent
b1dd646ed8
commit
b81c7d7f8e
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ from homeassistant.const import (
|
|||
DATA_GIBIBYTES,
|
||||
DATA_MEBIBYTES,
|
||||
PERCENTAGE,
|
||||
REVOLUTIONS_PER_MINUTE,
|
||||
STATE_UNAVAILABLE,
|
||||
TEMP_CELSIUS,
|
||||
Platform,
|
||||
|
@ -174,7 +175,7 @@ SENSOR_TYPES: tuple[GlancesSensorEntityDescription, ...] = (
|
|||
key="fan_speed",
|
||||
type="sensors",
|
||||
name_suffix="Fan speed",
|
||||
native_unit_of_measurement="RPM",
|
||||
native_unit_of_measurement=REVOLUTIONS_PER_MINUTE,
|
||||
icon="mdi:fan",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue