Add missing default QNAP QSW sensor icons (#70862)

pull/70872/head
Álvaro Fernández Rojas 2022-04-27 10:47:57 +02:00 committed by GitHub
parent 031149dfdd
commit f107cd8470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class QswSensorEntityDescription(SensorEntityDescription):
SENSOR_TYPES: Final[tuple[QswSensorEntityDescription, ...]] = (
QswSensorEntityDescription(
icon="mdi:fan-speed-1",
key=QSD_SYSTEM_SENSOR,
name="Fan 1 Speed",
native_unit_of_measurement=RPM,
@ -50,6 +51,7 @@ SENSOR_TYPES: Final[tuple[QswSensorEntityDescription, ...]] = (
subkey=QSD_FAN1_SPEED,
),
QswSensorEntityDescription(
icon="mdi:fan-speed-2",
key=QSD_SYSTEM_SENSOR,
name="Fan 2 Speed",
native_unit_of_measurement=RPM,
@ -68,6 +70,7 @@ SENSOR_TYPES: Final[tuple[QswSensorEntityDescription, ...]] = (
subkey=QSD_TEMP,
),
QswSensorEntityDescription(
icon="mdi:timer-outline",
key=QSD_SYSTEM_TIME,
entity_category=EntityCategory.DIAGNOSTIC,
name="Uptime",