mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
add comment
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user