This commit is contained in:
tt-tom17
2025-12-29 16:06:54 +01:00
parent f2e1a7263d
commit 53b627be88

View File

@@ -9472,14 +9472,6 @@ function HandleButtonEvent (words: any): void {
if (Debug) log(o.common.role)
switch (o.common.role as NSPanel.roles) {
case 'volume':
let pageItem = findPageItem(id);
if (pageItem.minValueLevel != undefined) {
setIfExists(id + '.SET', pageItem.minValueLevel);
} else {
setIfExists(id + '.SET', 0);
}
break;
case 'level.mode.fan':
toggleState(id + '.SET') ? true : toggleState(id + '.ACTUAL');
break;