Add "psave" field to state JSON

This commit is contained in:
cschwinne
2019-11-25 00:20:00 +01:00
parent 095429a7df
commit 767b57fc01
3 changed files with 7 additions and 5 deletions

View File

@@ -105,6 +105,9 @@ bool deserializeState(JsonObject root)
}
colorUpdated(noNotification ? 5:1);
ps = root["psave"] | -1;
if (ps >= 0) savePreset(ps);
return stateResponse;
}