mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-12 12:30:47 +00:00
Make timeout for save automation/script longer (#23665)
This commit is contained in:
@@ -917,7 +917,7 @@ export class HaScriptEditor extends SubscribeMixin(
|
||||
// wait for new script to appear in entity registry
|
||||
if (entityRegPromise) {
|
||||
try {
|
||||
const script = await promiseTimeout(2000, entityRegPromise);
|
||||
const script = await promiseTimeout(5000, entityRegPromise);
|
||||
entityId = script.entity_id;
|
||||
} catch (e) {
|
||||
entityId = undefined;
|
||||
|
||||
Reference in New Issue
Block a user