diff --git a/wled00/presets.cpp b/wled00/presets.cpp index 317e33b6..96e3bb59 100644 --- a/wled00/presets.cpp +++ b/wled00/presets.cpp @@ -169,8 +169,8 @@ void savePreset(byte index, const char* pname, JsonObject sObj) sObj.remove(F("error")); sObj.remove(F("psave")); if (sObj["o"].isNull()) { // "o" marks a playlist or manually entered API - includeBri = sObj["ib"].as(); - segBounds = sObj["sb"].as(); + includeBri = sObj["ib"].as() || index==255; // temporary preset needs brightness + segBounds = sObj["sb"].as() || index==255; // temporary preset needs bounds selectedOnly = sObj[F("sc")].as(); sObj.remove("ib"); sObj.remove("sb");