Add date device class (#9983)

This commit is contained in:
Ville Skyttä 2021-09-07 18:24:10 +03:00 committed by GitHub
parent 321f441b63
commit 5d46963e8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ export const FIXED_DEVICE_CLASS_ICONS = {
current: "hass:current-ac",
carbon_dioxide: "mdi:molecule-co2",
carbon_monoxide: "mdi:molecule-co",
date: "hass:calendar",
energy: "hass:lightning-bolt",
gas: "hass:gas-cylinder",
humidity: "hass:water-percent",

View File

@ -55,6 +55,7 @@ const hassAttributeUtil = {
"carbon_dioxide",
"carbon_monoxide",
"current",
"date",
"energy",
"humidity",
"illuminance",