ADS1x15: remove value from config output
@@ -54,14 +54,12 @@ void ADS1x15RawValue<T_ads_1x15>::enable() {
template <class T_ads_1x15>
void ADS1x15RawValue<T_ads_1x15>::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": "The time, in milliseconds, between each read of the input" },
- "value": { "title": "Last value", "type" : "number", "readOnly": true }
+ "read_delay": { "title": "Read delay", "type": "number", "description": "The time, in milliseconds, between each read of the input" }
}
})###";
