mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix scripted blueprints (#21649)
This commit is contained in:
parent
d2f2d682a9
commit
2832f501d1
@ -488,7 +488,9 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
|
|||||||
if (value && !Array.isArray(value)) {
|
if (value && !Array.isArray(value)) {
|
||||||
config.sequence = [value];
|
config.sequence = [value];
|
||||||
}
|
}
|
||||||
config.sequence = migrateAutomationAction(config.sequence);
|
if (config.sequence) {
|
||||||
|
config.sequence = migrateAutomationAction(config.sequence);
|
||||||
|
}
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user