mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 12:16:39 +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",
|
||||
]);
|
||||
const DOMAIN_TO_ELEMENT_TYPE = {
|
||||
alert: "toggle",
|
||||
automation: "toggle",
|
||||
climate: "climate",
|
||||
cover: "cover",
|
||||
|
Loading…
x
Reference in New Issue
Block a user