ParadoxAlarmInterface / ParadoxAlarmInterface/pai
Code for disarm not working
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 424
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Description
The wiki describes it is possible to require a code for disarming through HA:
https://github.com/ParadoxAlarmInterface/pai/wiki/Home-Assistant-integration#make-home-assistant-to-ask-for-a-code-to-armdisarm-dev-branch
First of all it mentions dev branch, but at the moment the dev branch is only 2 commits behind master (I assume that's stable), and those commits are unrelated to this. So the wiki should be updated.
In any case, adding the MQTT_HOMEASSISTANT_CODE in PAI config, and adding the customize code in my HA configuration.yaml doesn't change anything. Disarm still works and doesn't ask for a code.
PS: I also tried the development version of this HA addon, but with that one, arming/disarming doesn't work at all for me. The logs don't show any obvious errors.
Related:
https://github.com/ParadoxAlarmInterface/pai/issues/194
https://github.com/ParadoxAlarmInterface/pai/issues/318
CC @yozik04
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Home Assistant integration wiki section linked in the issue and inspect how MQTT_HOMEASSISTANT_CODE and the customize code in configuration.yaml are consumed. Compare the behavior with issues 194 and 318, then verify that disarm requests require the configured code and that the wiki no longer refers incorrectly to the dev branch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, yaml
- Domain
- documentation, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100