mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Add sensor device class volatile_organic_compounds_parts (#16576)
Add support for volatile_organic_compounds_parts
This commit is contained in:
parent
34e59e543b
commit
e8521c59eb
@ -50,6 +50,7 @@ const SENSOR_DEVICE_CLASSES = [
|
|||||||
"temperature",
|
"temperature",
|
||||||
"timestamp",
|
"timestamp",
|
||||||
"volatile_organic_compounds",
|
"volatile_organic_compounds",
|
||||||
|
"volatile_organic_compounds_parts",
|
||||||
"voltage",
|
"voltage",
|
||||||
"volume",
|
"volume",
|
||||||
"water",
|
"water",
|
||||||
|
@ -160,6 +160,7 @@ export const FIXED_DEVICE_CLASS_ICONS = {
|
|||||||
temperature: mdiThermometer,
|
temperature: mdiThermometer,
|
||||||
timestamp: mdiClock,
|
timestamp: mdiClock,
|
||||||
volatile_organic_compounds: mdiMolecule,
|
volatile_organic_compounds: mdiMolecule,
|
||||||
|
volatile_organic_compounds_parts: mdiMolecule,
|
||||||
voltage: mdiSineWave,
|
voltage: mdiSineWave,
|
||||||
volume: mdiCarCoolantLevel,
|
volume: mdiCarCoolantLevel,
|
||||||
water: mdiWater,
|
water: mdiWater,
|
||||||
|
@ -188,6 +188,7 @@ const FIXED_DOMAIN_ATTRIBUTE_STATES = {
|
|||||||
"temperature",
|
"temperature",
|
||||||
"timestamp",
|
"timestamp",
|
||||||
"volatile_organic_compounds",
|
"volatile_organic_compounds",
|
||||||
|
"volatile_organic_compounds_parts",
|
||||||
"voltage",
|
"voltage",
|
||||||
],
|
],
|
||||||
state_class: ["measurement", "total", "total_increasing"],
|
state_class: ["measurement", "total", "total_increasing"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user