v4.3.3.23 - Update NsPanelTs.ts

Optimization of the blind control (enable or disable Up/Stop/Down)
This commit is contained in:
Armilar
2023-12-17 17:07:53 +01:00
committed by GitHub
parent dca112e42b
commit 78c6029200

View File

@@ -7386,8 +7386,7 @@ function GenerateDetailPage(type: string, optional: string, pageItem: PageItem):
tilt_position = Math.trunc(scale(getState(id + '.TILT_ACTUAL').val, pageItem.minValueTilt, pageItem.maxValueTilt, 100, 0));
}
//if (Debug)
log('minLevel '+ min_Level + ' maxLevel ' + max_Level + ' Level ' + val, 'info');
if (Debug) log('minLevel '+ min_Level + ' maxLevel ' + max_Level + ' Level ' + val, 'info');
if (Debug) log('minTilt '+ min_Tilt + ' maxTilt ' + max_Tilt + ' TiltPosition ' + tilt_position, 'info');
let textSecondRow = '';