1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 04:39:01 +00:00

Add more info for switch and siren (#15547)

* Add more info for switch and siren

* Fix attributes
This commit is contained in:
Paul Bottein
2023-02-22 17:24:26 +01:00
committed by GitHub
parent e697a09e53
commit e46803cb4e
6 changed files with 135 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ export const EDITABLE_DOMAINS_WITH_ID = ["scene", "automation"];
* */
export const EDITABLE_DOMAINS_WITH_UNIQUE_ID = ["script"];
/** Domains with with new more info design. */
export const DOMAINS_WITH_NEW_MORE_INFO = ["light"];
export const DOMAINS_WITH_NEW_MORE_INFO = ["light", "siren", "switch"];
/** Domains with separate more info dialog. */
export const DOMAINS_WITH_MORE_INFO = [
"alarm_control_panel",
@@ -37,7 +37,9 @@ export const DOMAINS_WITH_MORE_INFO = [
"remote",
"script",
"scene",
"siren",
"sun",
"switch",
"timer",
"update",
"vacuum",