add comment

This commit is contained in:
proddy
2025-10-05 15:34:41 +02:00
parent ac45c17204
commit 439da1d1e9

View File

@@ -369,7 +369,8 @@ void WebCustomizationService::begin() {
void WebCustomizationService::load_test_data() { void WebCustomizationService::load_test_data() {
update([&](WebCustomization & webCustomization) { update([&](WebCustomization & webCustomization) {
// Temperature sensors // Temperature sensors
webCustomization.sensorCustomizations.clear(); webCustomization.sensorCustomizations.clear(); // delete all existing sensors
auto sensor = SensorCustomization(); auto sensor = SensorCustomization();
sensor.id = "01_0203_0405_0607"; sensor.id = "01_0203_0405_0607";
sensor.name = "test_tempsensor1"; sensor.name = "test_tempsensor1";