diff --git a/ioBroker/NsPanelTs.ts b/ioBroker/NsPanelTs.ts index cd42d74d..9b3caebb 100644 --- a/ioBroker/NsPanelTs.ts +++ b/ioBroker/NsPanelTs.ts @@ -1055,7 +1055,7 @@ function SendToPanel(val: Payload | Payload[]): void { on({ id: NSPanel_Path + 'Alarm.AlarmState', change: 'ne' }, async (obj) => { if ((obj.state ? obj.state.val : '') == 'armed' || (obj.state ? obj.state.val : '') == 'disarmed' || (obj.state ? obj.state.val : '') == 'triggered') { - GeneratePage(config.pages[8]); //----------- muss noch dynamisch gefunden werden ------------------------------------------- + GeneratePage(activePage); } });