From 37ac684d24a19180cf2ba23f04187397e94d4e22 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 10 Oct 2024 21:25:48 +0100 Subject: [PATCH] rename test temp sensors --- src/web/WebCustomizationService.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/web/WebCustomizationService.cpp b/src/web/WebCustomizationService.cpp index 16fc695f1..40e6a9533 100644 --- a/src/web/WebCustomizationService.cpp +++ b/src/web/WebCustomizationService.cpp @@ -360,13 +360,13 @@ void WebCustomizationService::test() { webCustomization.sensorCustomizations.clear(); auto sensor = SensorCustomization(); sensor.id = "01_0203_0405_0607"; - sensor.name = "test_sensor1"; + sensor.name = "test_tempsensor1"; sensor.offset = 0; webCustomization.sensorCustomizations.push_back(sensor); auto sensor2 = SensorCustomization(); sensor2.id = "0B_0C0D_0E0F_1011"; - sensor2.name = "test_sensor2"; + sensor2.name = "test_tempsensor2"; sensor2.offset = 4; webCustomization.sensorCustomizations.push_back(sensor2); @@ -375,7 +375,7 @@ void WebCustomizationService::test() { webCustomization.analogCustomizations.clear(); auto analog = AnalogCustomization(); analog.gpio = 36; - analog.name = "test_analog1"; + analog.name = "test_analogsensor1"; analog.offset = 0; analog.factor = 0.1; analog.uom = 17; @@ -384,7 +384,7 @@ void WebCustomizationService::test() { analog = AnalogCustomization(); analog.gpio = 37; - analog.name = "test_analog2"; + analog.name = "test_analogsensor2"; analog.offset = 0; analog.factor = 1; analog.uom = 0;