Skip to content

Commit

Permalink
Merge pull request #37 from nutechsoftware/dev
Browse files Browse the repository at this point in the history
Added 'EXIT DELAY' pattern test to DSC arming panel state logic
  • Loading branch information
f34rdotcom authored Jul 30, 2019
2 parents 514fe67 + 838cc9f commit 41a3f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alarmdecoder/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ def _update_armed_ready_status(self, message=None):
exit = self._exit

if self.mode == DSC:
if "QUICK EXIT" in messageUp:
if any(s in messageUp for s in ("QUICK EXIT", "EXIT DELAY")):
exit = True
else:
exit = False
Expand Down

0 comments on commit 41a3f8c

Please sign in to comment.