Add missing device_classes to sensor (#8288)

This commit is contained in:
Philip Allgaier 2021-01-30 21:32:25 +01:00 committed by GitHub
parent 5a8009e46e
commit 6b938b2597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,13 +40,17 @@ const hassAttributeUtil = {
humidifier: ["dehumidifier", "humidifier"],
sensor: [
"battery",
"current",
"energy",
"humidity",
"illuminance",
"temperature",
"pressure",
"power",
"power_factor",
"pressure",
"signal_strength",
"temperature",
"timestamp",
"voltage",
],
switch: ["switch", "outlet"],
},