Skip to content

Commit c8e2664

Browse files
authored
Fix Frient air quality sensor VOC device class (#4486)
Use "VOC parts" device class, not "VOC", for frient AQ sensor
1 parent 928268c commit c8e2664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zhaquirks/develco/air_quality.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class AttributeDefs(BaseAttributeDefs):
7272
attribute_name=DevelcoVOCMeasurement.AttributeDefs.measured_value.name,
7373
cluster_id=DevelcoVOCMeasurement.cluster_id,
7474
endpoint_id=38,
75-
device_class=SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS,
75+
device_class=SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS_PARTS,
7676
state_class=SensorStateClass.MEASUREMENT,
7777
unit=CONCENTRATION_PARTS_PER_BILLION,
7878
fallback_name="VOC level",

0 commit comments

Comments
 (0)