From f09d478cfdb40bdfcfd1146b09a43c677ff16fa8 Mon Sep 17 00:00:00 2001 From: SCA075 <82227818+sca075@users.noreply.github.com> Date: Mon, 6 Nov 2023 18:06:39 +0100 Subject: [PATCH 1/2] Update rand256_valetudo_re.json added "id_type": "number" to avoid failure of the segment cleaning command send via MQTT --- src/model/generators/platform_templates/rand256_valetudo_re.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/model/generators/platform_templates/rand256_valetudo_re.json b/src/model/generators/platform_templates/rand256_valetudo_re.json index c59aa7a9..7c102a4f 100644 --- a/src/model/generators/platform_templates/rand256_valetudo_re.json +++ b/src/model/generators/platform_templates/rand256_valetudo_re.json @@ -11,6 +11,7 @@ "selection_type": "ROOM", "repeats_type": "EXTERNAL", "max_repeats": 3, + "id_type": "number" "service_call_schema": { "service": "mqtt.publish", "evaluate_data_as_template": true, From 33d7505665a5e02db727468fafbfff3675111c57 Mon Sep 17 00:00:00 2001 From: Piotr Machowski <6118709+PiotrMachowski@users.noreply.github.com> Date: Mon, 6 Nov 2023 18:32:35 +0100 Subject: [PATCH 2/2] Fix JSON structure --- .../generators/platform_templates/rand256_valetudo_re.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/generators/platform_templates/rand256_valetudo_re.json b/src/model/generators/platform_templates/rand256_valetudo_re.json index 7c102a4f..e7b6011e 100644 --- a/src/model/generators/platform_templates/rand256_valetudo_re.json +++ b/src/model/generators/platform_templates/rand256_valetudo_re.json @@ -11,7 +11,7 @@ "selection_type": "ROOM", "repeats_type": "EXTERNAL", "max_repeats": 3, - "id_type": "number" + "id_type": "number", "service_call_schema": { "service": "mqtt.publish", "evaluate_data_as_template": true,