Skip to content

Commit

Permalink
Merge pull request #51 from mattsaxon/issue#2
Browse files Browse the repository at this point in the history
Fix issue #2
  • Loading branch information
tahvane1 authored Feb 23, 2022
2 parents 81916a5 + e2544d5 commit 22f7348
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions custom_components/jablotron80/jablotron.py
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,16 @@ def _process_state(self, data: bytearray, packet_data: str) -> None:
warn = True
activity_name = 'Unconfirmed alarm'
self._activate_source(detail)

# the next 3 activities are some sort of status code on arming/disarming
elif activity == 0x40:
pass

elif activity == 0x44:
pass

elif activity == 0x4c:
pass
else:
LOGGER.error(f'Unknown activity received data={packet_data}')
elif JablotronState.is_service_state(status):
Expand Down

0 comments on commit 22f7348

Please sign in to comment.