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
This commit is contained in:
Jan Castermans 2018-11-29 11:53:04 +01:00 committed by Paulus Schoutsen
parent 8ecfd9780f
commit a249289211

View File

@ -29,6 +29,7 @@ const SPECIAL_TYPES = new Set([
"weblink",
]);
const DOMAIN_TO_ELEMENT_TYPE = {
alert: "toggle",
automation: "toggle",
climate: "climate",
cover: "cover",