mirror of https://github.com/home-assistant/core
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
|
@ -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(
|
||||
key=SENSOR_KIND_LEVEL,
|
||||
name="Air pollution level",
|
||||
icon="mdi:gauge",
|
||||
device_class=SensorDeviceClass.ENUM,
|
||||
options=[
|
||||
"good",
|
||||
|
@ -63,7 +62,6 @@ GEOGRAPHY_SENSOR_DESCRIPTIONS = (
|
|||
SensorEntityDescription(
|
||||
key=SENSOR_KIND_POLLUTANT,
|
||||
name="Main pollutant",
|
||||
icon="mdi:chemical-weapon",
|
||||
device_class=SensorDeviceClass.ENUM,
|
||||
options=["co", "n2", "o3", "p1", "p2", "s2"],
|
||||
translation_key="pollutant_label",
|
||||
|
|
Loading…
Reference in New Issue