mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Add icons translations for airvisual (#111318)
* Add icons translations for airvisual * Add icon translations to airvisual
This commit is contained in:
parent
d004011d41
commit
6e5d14737e
12
homeassistant/components/airvisual/icons.json
Normal file
12
homeassistant/components/airvisual/icons.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"pollutant_level": {
|
||||||
|
"default": "mdi:gauge"
|
||||||
|
},
|
||||||
|
"pollutant_label": {
|
||||||
|
"default": "mdi:chemical-weapon"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -42,7 +42,6 @@ GEOGRAPHY_SENSOR_DESCRIPTIONS = (
|
|||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=SENSOR_KIND_LEVEL,
|
key=SENSOR_KIND_LEVEL,
|
||||||
name="Air pollution level",
|
name="Air pollution level",
|
||||||
icon="mdi:gauge",
|
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=[
|
options=[
|
||||||
"good",
|
"good",
|
||||||
@ -63,7 +62,6 @@ GEOGRAPHY_SENSOR_DESCRIPTIONS = (
|
|||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=SENSOR_KIND_POLLUTANT,
|
key=SENSOR_KIND_POLLUTANT,
|
||||||
name="Main pollutant",
|
name="Main pollutant",
|
||||||
icon="mdi:chemical-weapon",
|
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=["co", "n2", "o3", "p1", "p2", "s2"],
|
options=["co", "n2", "o3", "p1", "p2", "s2"],
|
||||||
translation_key="pollutant_label",
|
translation_key="pollutant_label",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user