From a1236924aa06a7859dde035d49a74727bd4f134e Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Fri, 17 Nov 2023 20:35:08 +0100 Subject: [PATCH] Ensure websocket_api error messages shows longer (#18690) --- src/state/connection-mixin.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/state/connection-mixin.ts b/src/state/connection-mixin.ts index 2ba9833bd69e..3c0985a2c3c1 100644 --- a/src/state/connection-mixin.ts +++ b/src/state/connection-mixin.ts @@ -143,7 +143,10 @@ export const connectionMixin = >( ? "connection lost" : "unknown error") }`; - fireEvent(this as any, "hass-notification", { message }); + fireEvent(this as any, "hass-notification", { + message, + duration: 10000, + }); } throw err; }