mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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;
|
return config;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user