From 6f5c37b4f066846e10ff1065fa7a8c951082d233 Mon Sep 17 00:00:00 2001 From: jenkins Date: Thu, 23 Jun 2022 14:22:12 +0200 Subject: [PATCH] Fix customRotation for local api --- src/nodes/tahoma.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nodes/tahoma.ts b/src/nodes/tahoma.ts index 3eea294..29bf60f 100644 --- a/src/nodes/tahoma.ts +++ b/src/nodes/tahoma.ts @@ -149,7 +149,7 @@ function generateInstructionsFromPayload( case 'customRotation': return { - command: 'rotation', + command: 'setOrientation', expectedState: { orientation: parseInt(payload.orientation, 10) }, labels: { done: `Rotated to ${payload.orientation}`,