File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 88* (paul53/AlCalzone/Apollon77) Fix datatype of system.host.cpu and system.adapter.XY.Z.cpu
99* (Apollon77) Make sure alias.0 and other controller objects are also checked and created if needed on setup first when updating
1010* (bluefox) Allow one state to multiple aliases connections
11+ * (Apollon77) Make sure required adapters are also checked correctly when using compact mode and groups
12+ * (Apollon77) Enhance logging for unsupported (should not happen) commands
1113
1214## 2.0.34 (2019-10-17) Release Bella
1315* (Apollon77) Allow custom settings to be removed again if objects are "file"
Original file line number Diff line number Diff line change @@ -504,6 +504,7 @@ function createObjects(onConnect) {
504504 procs [ id ] . config . common . enabled = false ;
505505 procs [ id ] . config . common . host = null ;
506506 procs [ id ] . config . deleted = true ;
507+ delete hostAdapter [ id ] ;
507508 logger . info ( hostLogPrefix + ' object deleted ' + id ) ;
508509 } else {
509510 if ( procs [ id ] . config . common . enabled && ! obj . common . enabled ) logger . info ( hostLogPrefix + ' "' + id + '" disabled' ) ;
@@ -524,6 +525,7 @@ function createObjects(onConnect) {
524525 compactProcs [ procs [ id ] . config . common . compactGroup ] . instances . splice ( compactProcs [ procs [ id ] . config . common . compactGroup ] . instances . indexOf ( id ) , 1 ) ;
525526 }
526527 procs [ id ] . config = obj ;
528+ hostAdapter [ id ] . config = obj ;
527529 }
528530 if ( procs [ id ] . process || procs [ id ] . config . common . mode === 'schedule' || procs [ id ] . config . common . mode === 'subscribe' ) {
529531 stopInstance ( id , ( ) => {
@@ -547,6 +549,7 @@ function createObjects(onConnect) {
547549 delete procs [ id ] . restartTimer ;
548550 }
549551 delete procs [ id ] ;
552+ delete hostAdapter [ id ] ;
550553 }
551554 } ) ;
552555 } else if ( installQueue . find ( obj => obj . id === id ) ) { // ignore object changes when still in install queue
@@ -567,6 +570,7 @@ function createObjects(onConnect) {
567570 delete procs [ id ] . restartTimer ;
568571 }
569572 delete procs [ id ] ;
573+ delete hostAdapter [ id ] ;
570574 }
571575 }
572576 } else if ( obj && obj . common ) {
You can’t perform that action at this time.
0 commit comments