Add prefix support to text selector (#17335)

This commit is contained in:
Franck Nijhof
2023-07-18 11:57:20 +02:00
committed by GitHub
parent d7e58a00ca
commit bc3295d851
3 changed files with 5 additions and 1 deletions

View File

@@ -122,7 +122,9 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
{
name: "id",
selector: {
text: {},
text: {
prefix: "script.",
},
},
},
] as const)