diff --git a/homeassistant/components/awair/icons.json b/homeassistant/components/awair/icons.json new file mode 100644 index 00000000000..895cac81869 --- /dev/null +++ b/homeassistant/components/awair/icons.json @@ -0,0 +1,9 @@ +{ + "entity": { + "sensor": { + "score": { + "default": "mdi:blur" + } + } + } +} diff --git a/homeassistant/components/awair/sensor.py b/homeassistant/components/awair/sensor.py index 698850d6a49..03243e51b7c 100644 --- a/homeassistant/components/awair/sensor.py +++ b/homeassistant/components/awair/sensor.py @@ -64,7 +64,6 @@ class AwairSensorEntityDescription(SensorEntityDescription, AwairRequiredKeysMix SENSOR_TYPE_SCORE = AwairSensorEntityDescription( key=API_SCORE, - icon="mdi:blur", native_unit_of_measurement=PERCENTAGE, translation_key="score", unique_id_tag="score", # matches legacy format @@ -96,7 +95,6 @@ SENSOR_TYPES: tuple[AwairSensorEntityDescription, ...] = ( ), AwairSensorEntityDescription( key=API_VOC, - icon="mdi:molecule", device_class=SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS_PARTS, native_unit_of_measurement=CONCENTRATION_PARTS_PER_BILLION, unique_id_tag="VOC", # matches legacy format