mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-15 20:02:13 +01:00
Somfy: fromJSON: add missing flags
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
2671c5aa60
commit
48545310f8
1 changed files with 1 additions and 0 deletions
|
|
@ -1494,6 +1494,7 @@ bool SomfyShade::fromJSON(JsonObject &obj) {
|
||||||
this->linkedRemotes[j].setRemoteAddress(linkedAddresses[j]);
|
this->linkedRemotes[j].setRemoteAddress(linkedAddresses[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(obj.containsKey("flags")) this->flags = obj["flags"];
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
bool SomfyShade::toJSON(JsonObject &obj) {
|
bool SomfyShade::toJSON(JsonObject &obj) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue