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