Add support for DEVICE_CLASS_MONETARY (#9640)

This commit is contained in:
Julien Ehrhart 2021-07-29 17:20:12 +02:00 committed by GitHub
parent e1bae65aeb
commit 6e7af18494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,7 @@ export const FIXED_DEVICE_CLASS_ICONS = {
humidity: "hass:water-percent",
illuminance: "hass:brightness-5",
temperature: "hass:thermometer",
monetary: "mdi:cash",
pressure: "hass:gauge",
power: "hass:flash",
power_factor: "hass:angle-acute",

View File

@ -60,6 +60,7 @@ const hassAttributeUtil = {
"power",
"power_factor",
"pressure",
"monetary",
"signal_strength",
"temperature",
"timestamp",