mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 12:46:35 +00:00
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:
parent
8ecfd9780f
commit
a249289211
@ -29,6 +29,7 @@ const SPECIAL_TYPES = new Set([
|
|||||||
"weblink",
|
"weblink",
|
||||||
]);
|
]);
|
||||||
const DOMAIN_TO_ELEMENT_TYPE = {
|
const DOMAIN_TO_ELEMENT_TYPE = {
|
||||||
|
alert: "toggle",
|
||||||
automation: "toggle",
|
automation: "toggle",
|
||||||
climate: "climate",
|
climate: "climate",
|
||||||
cover: "cover",
|
cover: "cover",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user