mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Use REVOLUTIONS_PER_MINUTE constant in glances (#79988)
This commit is contained in:
parent
b1dd646ed8
commit
b81c7d7f8e
@ -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…
x
Reference in New Issue
Block a user