diff --git a/gallery/src/pages/misc/entity-state.ts b/gallery/src/pages/misc/entity-state.ts index c49fcc0abc..01beaa0507 100644 --- a/gallery/src/pages/misc/entity-state.ts +++ b/gallery/src/pages/misc/entity-state.ts @@ -50,6 +50,7 @@ const SENSOR_DEVICE_CLASSES = [ "temperature", "timestamp", "volatile_organic_compounds", + "volatile_organic_compounds_parts", "voltage", "volume", "water", diff --git a/src/common/const.ts b/src/common/const.ts index e816d5afe3..4298e855be 100644 --- a/src/common/const.ts +++ b/src/common/const.ts @@ -160,6 +160,7 @@ export const FIXED_DEVICE_CLASS_ICONS = { temperature: mdiThermometer, timestamp: mdiClock, volatile_organic_compounds: mdiMolecule, + volatile_organic_compounds_parts: mdiMolecule, voltage: mdiSineWave, volume: mdiCarCoolantLevel, water: mdiWater, diff --git a/src/common/entity/get_states.ts b/src/common/entity/get_states.ts index c98501092d..5909dd2938 100644 --- a/src/common/entity/get_states.ts +++ b/src/common/entity/get_states.ts @@ -188,6 +188,7 @@ const FIXED_DOMAIN_ATTRIBUTE_STATES = { "temperature", "timestamp", "volatile_organic_compounds", + "volatile_organic_compounds_parts", "voltage", ], state_class: ["measurement", "total", "total_increasing"],