Add flags to the serialized shades.

This commit is contained in:
Robert Strouse 2023-06-01 13:20:25 -07:00
parent 42dcf4e084
commit 33fc37fa3d
2 changed files with 1 additions and 0 deletions

View file

@ -1509,6 +1509,7 @@ bool SomfyShade::toJSON(JsonObject &obj) {
obj["shadeType"] = static_cast<uint8_t>(this->shadeType);
obj["bitLength"] = this->bitLength;
obj["proto"] = static_cast<uint8_t>(this->proto);
obj["flags"] = this->flags;
SomfyRemote::toJSON(obj);
JsonArray arr = obj.createNestedArray("linkedRemotes");
for(uint8_t i = 0; i < SOMFY_MAX_LINKED_REMOTES; i++) {