Add 'last value' to moving_avg config data
@@ -46,7 +46,8 @@ static const char SCHEMA[] PROGMEM = R"({
"type": "object",
"properties": {
"n": { "title": "Number of samples in average", "type": "integer" },
- "k": { "title": "Multiplier", "type": "number" }
+ "k": { "title": "Multiplier", "type": "number" },
+ "value": { "title": "Last value", "type" : "number", "readOnly": true }
}
})";
