From 78c6029200560d2c1a0c8354cb7b3777ed3dd450 Mon Sep 17 00:00:00 2001 From: Armilar <102996011+Armilar@users.noreply.github.com> Date: Sun, 17 Dec 2023 17:07:53 +0100 Subject: [PATCH] v4.3.3.23 - Update NsPanelTs.ts Optimization of the blind control (enable or disable Up/Stop/Down) --- ioBroker/NsPanelTs.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ioBroker/NsPanelTs.ts b/ioBroker/NsPanelTs.ts index dbc66d16..02dc30e1 100644 --- a/ioBroker/NsPanelTs.ts +++ b/ioBroker/NsPanelTs.ts @@ -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 = '';