mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Only migrate automation actions if there are any (#21599)
This commit is contained in:
parent
eeffa3561c
commit
9e7f01a009
@ -366,7 +366,9 @@ export const normalizeAutomationConfig = <
|
||||
}
|
||||
}
|
||||
|
||||
config.action = migrateAutomationAction(config.action || []);
|
||||
if (config.action) {
|
||||
config.action = migrateAutomationAction(config.action);
|
||||
}
|
||||
|
||||
return config;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user