mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
Add missing default QNAP QSW sensor icons (#70862)
This commit is contained in:
parent
031149dfdd
commit
f107cd8470
@ -43,6 +43,7 @@ class QswSensorEntityDescription(SensorEntityDescription):
|
|||||||
|
|
||||||
SENSOR_TYPES: Final[tuple[QswSensorEntityDescription, ...]] = (
|
SENSOR_TYPES: Final[tuple[QswSensorEntityDescription, ...]] = (
|
||||||
QswSensorEntityDescription(
|
QswSensorEntityDescription(
|
||||||
|
icon="mdi:fan-speed-1",
|
||||||
key=QSD_SYSTEM_SENSOR,
|
key=QSD_SYSTEM_SENSOR,
|
||||||
name="Fan 1 Speed",
|
name="Fan 1 Speed",
|
||||||
native_unit_of_measurement=RPM,
|
native_unit_of_measurement=RPM,
|
||||||
@ -50,6 +51,7 @@ SENSOR_TYPES: Final[tuple[QswSensorEntityDescription, ...]] = (
|
|||||||
subkey=QSD_FAN1_SPEED,
|
subkey=QSD_FAN1_SPEED,
|
||||||
),
|
),
|
||||||
QswSensorEntityDescription(
|
QswSensorEntityDescription(
|
||||||
|
icon="mdi:fan-speed-2",
|
||||||
key=QSD_SYSTEM_SENSOR,
|
key=QSD_SYSTEM_SENSOR,
|
||||||
name="Fan 2 Speed",
|
name="Fan 2 Speed",
|
||||||
native_unit_of_measurement=RPM,
|
native_unit_of_measurement=RPM,
|
||||||
@ -68,6 +70,7 @@ SENSOR_TYPES: Final[tuple[QswSensorEntityDescription, ...]] = (
|
|||||||
subkey=QSD_TEMP,
|
subkey=QSD_TEMP,
|
||||||
),
|
),
|
||||||
QswSensorEntityDescription(
|
QswSensorEntityDescription(
|
||||||
|
icon="mdi:timer-outline",
|
||||||
key=QSD_SYSTEM_TIME,
|
key=QSD_SYSTEM_TIME,
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
name="Uptime",
|
name="Uptime",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user