-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add custom bypass night arming to SIA alarm codes #95736
Add custom bypass night arming to SIA alarm codes #95736
Conversation
Hey there @eavanvalkenburg, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
LGTM |
Thanks, Eduard. How do we make sure this gets merged so it doesn't get abandoned like the last PR? |
Would it not make more sense to make it Please also rebase this PR to remove the unwanted commits. |
The SIA codes being added here are previously-unknown to HA. Night mode uses other codes as far I can tell from the Ajax docs |
Sure, the new codes you are now mapping to |
@etnoy something is still not right with the rebase as there are now 140 commits on it. |
Oh no. I just looked at "files changed" and was satisified. Ideally I'd just create a fresh branch from dev, but this seems hard now that it's part of a PR. Any suggestions? I feel like I've dug myself into a hole (the change is literally just two lines) |
I suggest you open a new PR and close this one. |
a0d14f9
to
9bff830
Compare
d225e77
to
678083e
Compare
Thanks for the assistance, @gjohansson-ST |
* Add SIA codes for night arming with custom bypass * Set night custom bypass to ARMED_CUSTOM_BYPASS
Proposed change
Type of change
This PR was reviewed before as #80287 but never merged.
Within the SIA alarm codes (used in the Ajax alarm system) it is possible to arm with bypass. This is useful if a malfunction is detected but acknowledged by the user. However, if a malfunction is detected within night arming, the resulting state in HA will be Unknown. This change maps custom_bypass arming in night mode to armed_custom_byass.
Pinging @eavanvalkenburg
fixes #95279
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: