mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Add flags to the serialized shades.
This commit is contained in:
parent
42dcf4e084
commit
33fc37fa3d
2 changed files with 1 additions and 0 deletions
|
|
@ -1509,6 +1509,7 @@ bool SomfyShade::toJSON(JsonObject &obj) {
|
||||||
obj["shadeType"] = static_cast<uint8_t>(this->shadeType);
|
obj["shadeType"] = static_cast<uint8_t>(this->shadeType);
|
||||||
obj["bitLength"] = this->bitLength;
|
obj["bitLength"] = this->bitLength;
|
||||||
obj["proto"] = static_cast<uint8_t>(this->proto);
|
obj["proto"] = static_cast<uint8_t>(this->proto);
|
||||||
|
obj["flags"] = this->flags;
|
||||||
SomfyRemote::toJSON(obj);
|
SomfyRemote::toJSON(obj);
|
||||||
JsonArray arr = obj.createNestedArray("linkedRemotes");
|
JsonArray arr = obj.createNestedArray("linkedRemotes");
|
||||||
for(uint8_t i = 0; i < SOMFY_MAX_LINKED_REMOTES; i++) {
|
for(uint8_t i = 0; i < SOMFY_MAX_LINKED_REMOTES; i++) {
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue