From ae7edbe6ed37dd61b541f230520b61678acaba27 Mon Sep 17 00:00:00 2001 From: Cosmo Date: Fri, 1 May 2026 07:00:01 +0000 Subject: [PATCH] fix: smart-home tool syntax error in else branch --- lib/tools/smart-home.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/smart-home.ts b/lib/tools/smart-home.ts index c2b609f..aca3066 100644 --- a/lib/tools/smart-home.ts +++ b/lib/tools/smart-home.ts @@ -69,7 +69,7 @@ const controlAirPurifier: VoiceTool = { preset_mode: mode, } } else { - return { error: } + return { error: `unknown action: ${action}` } } await tabletJson('POST', '/api/voice/tools/smart-home', payload)