mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-10-31 22:02:17 +01:00
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 <noreply@anthropic.com>
This commit is contained in:
parent
6b19d24eb4
commit
f1eac31957
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ static void serializeShadeRef(SomfyShade *shade, JsonFormatter &json) {
|
|||
json.addElem("paired", shade->paired);
|
||||
json.addElem("shadeType", static_cast<uint8_t>(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<uint8_t>(shade->proto));
|
||||
json.addElem("flags", shade->flags);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue