Add volatile_organic_compounds device class (#9871)

This commit is contained in:
Jc2k 2021-08-23 10:43:46 +01:00 committed by GitHub
parent de23b2d046
commit 21a3b4f8e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,7 @@ export const FIXED_DEVICE_CLASS_ICONS = {
signal_strength: "hass:wifi", signal_strength: "hass:wifi",
sulphur_dioxide: "mdi:molecule", sulphur_dioxide: "mdi:molecule",
timestamp: "hass:clock", timestamp: "hass:clock",
volatile_organic_compounds: "mdi:molecule",
voltage: "hass:sine-wave", voltage: "hass:sine-wave",
}; };

View File

@ -73,6 +73,7 @@ const hassAttributeUtil = {
"sulphur_dioxide", "sulphur_dioxide",
"temperature", "temperature",
"timestamp", "timestamp",
"volatile_organic_compounds",
"voltage", "voltage",
], ],
switch: ["switch", "outlet"], switch: ["switch", "outlet"],