Skip to content
Snippets Groups Projects
Unverified Commit c4c4b6c8 authored by Joost Lekkerkerker's avatar Joost Lekkerkerker Committed by GitHub
Browse files

Add device class back to Purpleair (#96062)

parent 25b85934
No related branches found
No related tags found
No related merge requests found
......@@ -168,6 +168,7 @@ SENSOR_DESCRIPTIONS = [
# This sensor is an air quality index for VOCs. More info at https://github.com/home-assistant/core/pull/84896
key="voc",
translation_key="voc_aqi",
device_class=SensorDeviceClass.AQI,
state_class=SensorStateClass.MEASUREMENT,
value_fn=lambda sensor: sensor.voc,
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment