Add icons translations for airvisual (#111318)

* Add icons translations for airvisual

* Add icon translations to airvisual
This commit is contained in:
Joost Lekkerkerker
2024-02-25 08:27:29 +01:00
committed by GitHub
parent d004011d41
commit 6e5d14737e
2 changed files with 12 additions and 2 deletions

View File

@@ -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",