mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Add missing device_classes to sensor (#8288)
This commit is contained in:
parent
db9597d2e7
commit
9d82ce8ab4
@ -40,13 +40,17 @@ const hassAttributeUtil = {
|
|||||||
humidifier: ["dehumidifier", "humidifier"],
|
humidifier: ["dehumidifier", "humidifier"],
|
||||||
sensor: [
|
sensor: [
|
||||||
"battery",
|
"battery",
|
||||||
|
"current",
|
||||||
|
"energy",
|
||||||
"humidity",
|
"humidity",
|
||||||
"illuminance",
|
"illuminance",
|
||||||
"temperature",
|
|
||||||
"pressure",
|
|
||||||
"power",
|
"power",
|
||||||
|
"power_factor",
|
||||||
|
"pressure",
|
||||||
"signal_strength",
|
"signal_strength",
|
||||||
|
"temperature",
|
||||||
"timestamp",
|
"timestamp",
|
||||||
|
"voltage",
|
||||||
],
|
],
|
||||||
switch: ["switch", "outlet"],
|
switch: ["switch", "outlet"],
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user