Ultrasonic: remove value from Config UI
@@ -28,14 +28,12 @@ void UltrasonicDistance::enable() {
void UltrasonicDistance::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 thermocouple read " },
- "value": { "title": "Last value", "type" : "number", "readOnly": true }
+ "read_delay": { "title": "Read delay", "type": "number", "description": "Number of milliseconds between each thermocouple read " }
}
})###";
