Skip to content

Commit 9e54a53

Browse files
authored
Removing "AQI" unit for extended life PM 2.5 AQI sensor (#78)
Home Assistant does not expect any unit of measurement and throws a warning here: >Entity sensor.ag_open_air_o_1pst_pm_2_5_aqi (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) is using native unit of measurement 'AQI' which is not a valid unit for the device class ('aqi') it is using; expected one of ['no unit of measurement'];
1 parent e9d6903 commit 9e54a53

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/sensor_pms5003t_extended_life.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ sensor:
9797
id: pm_2_5_aqi
9898
update_interval: 5 min
9999
device_class: aqi
100-
unit_of_measurement: "AQI"
101100
icon: "mdi:air-filter"
102101
accuracy_decimals: 0
103102
filters:

0 commit comments

Comments
 (0)