mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 06:54:24 +01:00
BugFix cardAlarm
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user