From 1abaac07c40e04ecabff01a8b5eaeeb0032868f8 Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 15 Sep 2026 22:02:19 +0200 Subject: [PATCH] formatting --- mock-api/restServer.ts | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/mock-api/restServer.ts b/mock-api/restServer.ts index 413405823..ee13459b5 100644 --- a/mock-api/restServer.ts +++ b/mock-api/restServer.ts @@ -211,12 +211,12 @@ switch (emulate_esp) { case 'ESP32': system_status.esp_platform = 'ESP32'; system_status.cpu_type = 'ESP32-D0WD-V3'; - system_status.arduino_version = "Tasmota Arduino v3.3.8"; + system_status.arduino_version = 'Tasmota Arduino v3.3.8'; system_status.sdk_version = '5.5.4.260407'; system_status.psram = true; system_status.psram_size = 4096; system_status.free_psram = 4055; - system_status.model = "BBQKees Electronics E32V2.2 rev.2.2/2024073"; + system_status.model = 'BBQKees Electronics E32V2.2 rev.2.2/2024073'; system_status.board = 'E32V2_2'; settings.board_profile = 'E32V2_2'; @@ -232,7 +232,7 @@ switch (emulate_esp) { system_status.psram = true; system_status.psram_size = 8189; system_status.free_psram = 8166; - system_status.model = "BBQKees Electronics S32"; + system_status.model = 'BBQKees Electronics S32'; system_status.board = 'S32S3'; settings.board_profile = 'S32S3'; @@ -345,10 +345,10 @@ function updateMask(entity: any, de: any, dd: any) { const old_custom_name = dd.nodes[dd_objIndex].cn; console.log( 'comparing names, old (' + - old_custom_name + - ') with new (' + - new_custom_name + - ')' + old_custom_name + + ') with new (' + + new_custom_name + + ')' ); if (old_custom_name !== new_custom_name) { changed = true; @@ -469,9 +469,9 @@ function upgradeImportantMessages(version: string) { console.log( 'upgradeImportantMessageType: version=' + - version + - ' type=' + - upgradeImportantMessageType_n + version + + ' type=' + + upgradeImportantMessageType_n ); return { upgradeImportantMessageType: upgradeImportantMessageType_n }; } @@ -522,17 +522,17 @@ function get_versions() { console.log( 'getVersions: current=' + - THIS_VERSION + - ' stable=' + - LATEST_STABLE_VERSION + - ' (upgradeable=' + - (STABLE_VERSION_IS_UPGRADEABLE ? 'YES' : 'NO') + - ') dev=' + - LATEST_DEV_VERSION + - ' (upgradeable=' + - (DEV_VERSION_IS_UPGRADEABLE ? 'YES' : 'NO') + - ')' + - (MOCK_OFFLINE ? ' [offline]' : '') + THIS_VERSION + + ' stable=' + + LATEST_STABLE_VERSION + + ' (upgradeable=' + + (STABLE_VERSION_IS_UPGRADEABLE ? 'YES' : 'NO') + + ') dev=' + + LATEST_DEV_VERSION + + ' (upgradeable=' + + (DEV_VERSION_IS_UPGRADEABLE ? 'YES' : 'NO') + + ')' + + (MOCK_OFFLINE ? ' [offline]' : '') ); return data; }