From 439da1d1e98a21cce8aab56d539f5e8cb01f866b Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 5 Oct 2025 15:34:41 +0200 Subject: [PATCH] add comment --- src/web/WebCustomizationService.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/WebCustomizationService.cpp b/src/web/WebCustomizationService.cpp index 65d2403e0..d1068861d 100644 --- a/src/web/WebCustomizationService.cpp +++ b/src/web/WebCustomizationService.cpp @@ -369,7 +369,8 @@ void WebCustomizationService::begin() { void WebCustomizationService::load_test_data() { update([&](WebCustomization & webCustomization) { // Temperature sensors - webCustomization.sensorCustomizations.clear(); + webCustomization.sensorCustomizations.clear(); // delete all existing sensors + auto sensor = SensorCustomization(); sensor.id = "01_0203_0405_0607"; sensor.name = "test_tempsensor1";