From a2492892112fa038f15a8ffa5f84c79a7085614d Mon Sep 17 00:00:00 2001 From: Jan Castermans Date: Thu, 29 Nov 2018 11:53:04 +0100 Subject: [PATCH] Display alert entity row as a toggle (#2138) * Update create-row-element.js In the default UI alerts where displayed as toggles, this change makes this also the default behaviour in Lovelace * Change the order to keep the alphabetic order --- src/panels/lovelace/common/create-row-element.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/lovelace/common/create-row-element.js b/src/panels/lovelace/common/create-row-element.js index 9ec0a5efef..c9d1fa072c 100644 --- a/src/panels/lovelace/common/create-row-element.js +++ b/src/panels/lovelace/common/create-row-element.js @@ -29,6 +29,7 @@ const SPECIAL_TYPES = new Set([ "weblink", ]); const DOMAIN_TO_ELEMENT_TYPE = { + alert: "toggle", automation: "toggle", climate: "climate", cover: "cover",