Skip to content

Commit

Permalink
Merge pull request #147 from tahvane1/unarmed-trigger-clearing
Browse files Browse the repository at this point in the history
Fix for not clearing triggers in unarmed case
  • Loading branch information
tahvane1 authored Dec 30, 2022
2 parents 883d0e6 + a0a9d47 commit bc8dc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/jablotron80/jablotron.py
Original file line number Diff line number Diff line change
Expand Up @@ -1992,7 +1992,7 @@ def _process_state(self, data: bytearray, packet_data: str) -> None:
self.status = JA80CentralUnit.STATUS_NORMAL
self._call_zones(function_name="disarm")

if activity == 0x00 and not self.led_alarm:
if activity == 0x00:# and not self.led_alarm:
# clear active statuses
self._clear_triggers()

Expand Down

0 comments on commit bc8dc7e

Please sign in to comment.