diff --git a/src/common/const.ts b/src/common/const.ts index 2bd338c895..dd4eace281 100644 --- a/src/common/const.ts +++ b/src/common/const.ts @@ -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", diff --git a/src/util/hass-attributes-util.ts b/src/util/hass-attributes-util.ts index 7a9bc9c232..73fa60cd4e 100644 --- a/src/util/hass-attributes-util.ts +++ b/src/util/hass-attributes-util.ts @@ -60,6 +60,7 @@ const hassAttributeUtil = { "power", "power_factor", "pressure", + "monetary", "signal_strength", "temperature", "timestamp",