AnalogInput: remove value from config display
@@ -25,14 +25,12 @@ void AnalogInput::enable() {
void AnalogInput::get_configuration(JsonObject& root) {
root["read_delay"] = read_delay;
- root["value"] = output;
};
static const char SCHEMA[] PROGMEM = R"###({
"type": "object",
"properties": {
- "read_delay": { "title": "Read delay", "type": "number", "description": "Number of milliseconds between each analogRead(A0)" },
- "value": { "title": "Last value", "type" : "number", "readOnly": true }
+ "read_delay": { "title": "Read delay", "type": "number", "description": "Number of milliseconds between each analogRead(A0)" }
}
})###";
