|
@@ -695,7 +695,7 @@ class AlarmDecoder(object): |
|
|
# Retrieve a list of faults. |
|
|
# Retrieve a list of faults. |
|
|
# NOTE: This only happens on first boot or after exiting programming mode. |
|
|
# NOTE: This only happens on first boot or after exiting programming mode. |
|
|
if isinstance(message, Message): |
|
|
if isinstance(message, Message): |
|
|
if not message.ready and ("Hit * for faults" in message.text or "Press * to show faults" in message.text): |
|
|
|
|
|
|
|
|
if not message.ready and ("Hit * for faults" in message.text or "Press * to show faults" in message.text): |
|
|
if time.time() > self.last_fault_expansion + self.fault_expansion_time_limit: |
|
|
if time.time() > self.last_fault_expansion + self.fault_expansion_time_limit: |
|
|
self.last_fault_expansion = time.time() |
|
|
self.last_fault_expansion = time.time() |
|
|
self.send('*') |
|
|
self.send('*') |
|
|