formatting

This commit is contained in:
proddy
2025-01-16 21:54:54 +01:00
parent 77eb2c747b
commit e3d260429c

View File

@@ -157,7 +157,7 @@ switch (version_test as number) {
// set the version // set the version
system_status.emsesp_version = THIS_VERSION; system_status.emsesp_version = THIS_VERSION;
const emulate_esp = "ESP32S3"; const emulate_esp = 'ESP32S3';
// const emulate_esp = 'ESP32'; // const emulate_esp = 'ESP32';
switch (emulate_esp as string) { switch (emulate_esp as string) {
@@ -268,10 +268,10 @@ function updateMask(entity: any, de: any, dd: any) {
const old_custom_name = dd.nodes[dd_objIndex].cn; const old_custom_name = dd.nodes[dd_objIndex].cn;
console.log( console.log(
'comparing names, old (' + 'comparing names, old (' +
old_custom_name + old_custom_name +
') with new (' + ') with new (' +
new_custom_name + new_custom_name +
')' ')'
); );
if (old_custom_name !== new_custom_name) { if (old_custom_name !== new_custom_name) {
changed = true; changed = true;
@@ -366,15 +366,15 @@ function check_upgrade(version: string) {
const stable_version = version.split(',')[1]; const stable_version = version.split(',')[1];
console.log( console.log(
'latest dev version: ' + 'latest dev version: ' +
dev_version + dev_version +
', latest stable version: ' + ', latest stable version: ' +
stable_version stable_version
); );
console.log( console.log(
'Version upgrade check from version ' + 'Version upgrade check from version ' +
THIS_VERSION + THIS_VERSION +
', upgradable: ' + ', upgradable: ' +
VERSION_IS_UPGRADEABLE VERSION_IS_UPGRADEABLE
); );
data = { data = {
emsesp_version: THIS_VERSION, emsesp_version: THIS_VERSION,
@@ -4507,7 +4507,7 @@ router
let fake = false; let fake = false;
// fake = true; // for testing, shows a subset of data fake = true; // for testing, shows a subset of data
if (!fake) { if (!fake) {
// pick EMS devices from coredata // pick EMS devices from coredata