From 4f41508110d869028d70a8e71b8f805e5d672168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sun, 10 Nov 2019 18:41:33 +0100 Subject: [PATCH] Adds timestamp device_class for sensor (#4204) --- src/util/hass-attributes-util.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/hass-attributes-util.js b/src/util/hass-attributes-util.js index e6d6a7e322..760eaed3bb 100644 --- a/src/util/hass-attributes-util.js +++ b/src/util/hass-attributes-util.js @@ -45,6 +45,7 @@ hassAttributeUtil.DOMAIN_DEVICE_CLASS = { "pressure", "power", "signal_strength", + "timestamp", ], switch: ["switch", "outlet"], };