Add device_class PH, including default icon (#17385)

This commit is contained in:
Miguel Camba 2023-07-23 18:50:40 +02:00 committed by GitHub
parent e21f951368
commit d6e279e8f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,7 @@ const SENSOR_DEVICE_CLASSES = [
"nitrogen_monoxide",
"nitrous_oxide",
"ozone",
"ph",
"pm1",
"pm10",
"pm25",

View File

@ -45,6 +45,7 @@ import {
mdiMoleculeCo,
mdiMoleculeCo2,
mdiPalette,
mdiPh,
mdiProgressClock,
mdiRayVertex,
mdiRemote,
@ -148,6 +149,7 @@ export const FIXED_DEVICE_CLASS_ICONS = {
nitrogen_monoxide: mdiMolecule,
nitrous_oxide: mdiMolecule,
ozone: mdiMolecule,
ph: mdiPh,
pm1: mdiMolecule,
pm10: mdiMolecule,
pm25: mdiMolecule,

View File

@ -186,6 +186,7 @@ const FIXED_DOMAIN_ATTRIBUTE_STATES = {
"nitrogen_monoxide",
"nitrous_oxide",
"ozone",
"ph",
"pm1",
"pm10",
"pm25",