Skip to content

Commit

Permalink
Fix arm night
Browse files Browse the repository at this point in the history
Fix broken night arming
  • Loading branch information
Loomaanaatii authored and Loomaanaatii committed Jan 23, 2021
1 parent 11b04b6 commit f7fd8a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class ADCPlatform {
silentArming: false
},
'night': {
nightArming: true,
noEntryDelay: false,
silentArming: true
},
Expand Down Expand Up @@ -492,7 +493,7 @@ class ADCPlatform {
opts.silentArming = this.armingModes.stay.silentArming;
break
case Characteristic.SecuritySystemTargetState.NIGHT_ARM:
method = nodeADC.armStay
method = nodeADC.armNightStay
opts.noEntryDelay = this.armingModes.night.noEntryDelay;
opts.silentArming = this.armingModes.night.silentArming;
break
Expand Down

0 comments on commit f7fd8a0

Please sign in to comment.