Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pima Force 144 alarm uses "ADM-CID" format.
407 Code
The alarm system has a mobile app PIMAlink 3.0 which can be used to arm and disarm the alarm system.
When using the mobile app (and not the keypad), the alarm is sending event 407: "Remote arm/disarm":
2023-09-21 01:59:23.136 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: 7449003F"ADM-CID"0078R1L0#AAAA[#00AAAA|3407 01 001]_01:59:16,09-21-2023
408 Code
When using the keypad's "arm away" button, the alarm sends event 408: "Quick arm"
2023-10-04 13:26:45.185 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: 9B2F0041"ADM-CID"1285R1L0#AAAAAA[#AAAAAA|3408 01 000]_13:26:16,10-04-2023
(ADM-CID code can be found here).
Adding new mappings for events 407 & 408.
The updated mapping file was tested with our alarm system and it's working as expected. The state of the alarm entity is getting updated correctly.