Browse Source

Added note regarding messages marked with ready and restoring zones.

pyserial_fix
Scott Petersen 11 years ago
parent
commit
8cca6e708b
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      pyad2/zonetracking.py

+ 4
- 0
pyad2/zonetracking.py View File

@@ -99,6 +99,10 @@ class Zonetracker(object):

else:
# Panel is ready, restore all zones.
#
# NOTE: This will need to be updated to support panels with multiple partitions.
# In it's current state a ready on partition #1 will end up clearing all zones, even
# if they exist elsewhere and it shouldn't.
if message.ready:
for z in self._zones_faulted:
self._update_zone(z, Zone.CLEAR)


Loading…
Cancel
Save