Add floor selector to script fields (#21016)

This commit is contained in:
karwosts 2024-06-07 04:02:58 -07:00 committed by GitHub
parent f5ae842167
commit 721eebf367
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,12 @@ const SELECTOR_SCHEMAS = {
selector: { boolean: {} }, selector: { boolean: {} },
}, },
] as const, ] as const,
floor: [
{
name: "multiple",
selector: { boolean: {} },
},
] as const,
icon: [] as const, icon: [] as const,
location: [] as const, location: [] as const,
media: [] as const, media: [] as const,

View File

@ -401,6 +401,7 @@
"device": "Device", "device": "Device",
"duration": "Duration", "duration": "Duration",
"entity": "Entity", "entity": "Entity",
"floor": "[%key:ui::components::floor-picker::floor%]",
"icon": "Icon", "icon": "Icon",
"location": "Location", "location": "Location",
"media": "Media", "media": "Media",