diff --git a/alarmdecoder/decoder.py b/alarmdecoder/decoder.py index b69bf4c..cfa95b3 100644 --- a/alarmdecoder/decoder.py +++ b/alarmdecoder/decoder.py @@ -695,7 +695,7 @@ class AlarmDecoder(object): # Retrieve a list of faults. # NOTE: This only happens on first boot or after exiting programming mode. 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: self.last_fault_expansion = time.time() self.send('*')