Fix script config editor (#13703)

This commit is contained in:
Paul Bottein 2022-09-12 18:04:07 +02:00 committed by Bram Kragten
parent cfabaa8716
commit f7253a73a5
No known key found for this signature in database
GPG Key ID: FBE2DFDB363EF55B

View File

@ -609,13 +609,13 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
switch (key) { switch (key) {
case "id": case "id":
this._idChanged(value); this._idChanged(value);
return; break;
case "alias": case "alias":
this._aliasChanged(value); this._aliasChanged(value);
break; break;
case "mode": case "mode":
this._modeChanged(value); this._modeChanged(value);
return; break;
} }
if (values[key] === undefined) { if (values[key] === undefined) {