From 6c4539ab09e7d8f37ed56fa29da43e9a151190e7 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 7 Jun 2022 20:50:05 +0200 Subject: [PATCH] :bug: Fix state stack merge on Google Assistant #1211 --- .../platform-googleassistant/src/GoogleAssistantPlatform.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platforms/platform-googleassistant/src/GoogleAssistantPlatform.ts b/platforms/platform-googleassistant/src/GoogleAssistantPlatform.ts index 06d881b67c..3f0fdba1b3 100644 --- a/platforms/platform-googleassistant/src/GoogleAssistantPlatform.ts +++ b/platforms/platform-googleassistant/src/GoogleAssistantPlatform.ts @@ -76,6 +76,9 @@ export class GoogleAssistantPlatform extends Platform< if (typeof objValue === 'string' && typeof srcValue === 'string') { return objValue ? objValue : srcValue; } + if (Array.isArray(objValue) && Array.isArray(srcValue)) { + return srcValue; + } }, );