From f1eac31957c9bc77b82d6346f4ff1d5147db66a9 Mon Sep 17 00:00:00 2001 From: cjkas Date: Sun, 11 Oct 2026 20:50:42 +0200 Subject: [PATCH] fix: report the real flipPosition for linked shades serializeShadeRef sent flipCommands as flipPosition, so group linked shades and the /shadeCommand reply showed the wrong setting. Co-Authored-By: Claude Opus 5.5 --- src/Web.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Web.cpp b/src/Web.cpp index 89b4965..4b2ad79 100644 --- a/src/Web.cpp +++ b/src/Web.cpp @@ -308,7 +308,7 @@ static void serializeShadeRef(SomfyShade *shade, JsonFormatter &json) { json.addElem("paired", shade->paired); json.addElem("shadeType", static_cast(shade->shadeType)); json.addElem("flipCommands", shade->flipCommands); - json.addElem("flipPosition", shade->flipCommands); + json.addElem("flipPosition", shade->flipPosition); json.addElem("bitLength", shade->bitLength); json.addElem("proto", static_cast(shade->proto)); json.addElem("flags", shade->flags);