Skip to content

Commit

Permalink
fix gas and TVOC units
Browse files Browse the repository at this point in the history
  • Loading branch information
kongo09 committed Feb 21, 2024
1 parent 1338f1a commit 90f8f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/philips_airpurifier_coap/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,13 +504,13 @@ class PhilipsApi:
PhilipsApi.NEW2_GAS: {
FanAttributes.ICON_MAP: {0: ICON.GAS},
FanAttributes.LABEL: FanAttributes.GAS,
FanAttributes.UNIT: "L",
ATTR_STATE_CLASS: SensorStateClass.MEASUREMENT,
},
PhilipsApi.TOTAL_VOLATILE_ORGANIC_COMPOUNDS: {
ATTR_DEVICE_CLASS: SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS,
FanAttributes.ICON_MAP: {0: "mdi:blur"},
FanAttributes.LABEL: FanAttributes.TOTAL_VOLATILE_ORGANIC_COMPOUNDS,
FanAttributes.UNIT: "L",
ATTR_STATE_CLASS: SensorStateClass.MEASUREMENT,
},
PhilipsApi.HUMIDITY: {
Expand Down

0 comments on commit 90f8f00

Please sign in to comment.