mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Add icon translations to Vilfo (#112347)
This commit is contained in:
parent
153b1947fa
commit
f1e564fb47
12
homeassistant/components/vilfo/icons.json
Normal file
12
homeassistant/components/vilfo/icons.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"load": {
|
||||
"default": "mdi:memory"
|
||||
},
|
||||
"boot_time": {
|
||||
"default": "mdi:timer-outline"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -41,13 +41,11 @@ SENSOR_TYPES: tuple[VilfoSensorEntityDescription, ...] = (
|
||||
key=ATTR_LOAD,
|
||||
translation_key=ATTR_LOAD,
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
icon="mdi:memory",
|
||||
api_key=ATTR_API_DATA_FIELD_LOAD,
|
||||
),
|
||||
VilfoSensorEntityDescription(
|
||||
key=ATTR_BOOT_TIME,
|
||||
translation_key=ATTR_BOOT_TIME,
|
||||
icon="mdi:timer-outline",
|
||||
api_key=ATTR_API_DATA_FIELD_BOOT_TIME,
|
||||
device_class=SensorDeviceClass.TIMESTAMP,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user