Skip to content

Commit

Permalink
Add floor selector to script fields (#21016)
Browse files Browse the repository at this point in the history
  • Loading branch information
karwosts authored Jun 7, 2024
1 parent f5ae842 commit 721eebf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/ha-selector/ha-selector-selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ const SELECTOR_SCHEMAS = {
selector: { boolean: {} },
},
] as const,
floor: [
{
name: "multiple",
selector: { boolean: {} },
},
] as const,
icon: [] as const,
location: [] as const,
media: [] as const,
Expand Down
1 change: 1 addition & 0 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@
"device": "Device",
"duration": "Duration",
"entity": "Entity",
"floor": "[%key:ui::components::floor-picker::floor%]",
"icon": "Icon",
"location": "Location",
"media": "Media",
Expand Down

0 comments on commit 721eebf

Please sign in to comment.