mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-23 16:47:35 +01:00
5b85429327
Signed-off-by: main <magic_rb@redalder.org> Signed-off-by: Magic_RB <magic_rb@redalder.org>
18 lines
588 B
Nix
18 lines
588 B
Nix
{
|
|
platform = "manual";
|
|
name = "Home Alarm";
|
|
code = "\${ALARM_CODE}";
|
|
code_arm_required = false; # Don't need code to arm.
|
|
disarm_after_trigger = false; # Leave alarm armed after triggering.
|
|
arming_time = 0; # Time to leave the house after arming.
|
|
delay_time = 30; # Time to turn off after entering the house.
|
|
trigger_time = 3600; # How long the alarm goes off for.
|
|
disarmed = {
|
|
trigger_time = 0; # Can't be triggered when disarmed.
|
|
};
|
|
armed_home = {
|
|
arming_time = 0; # Arm instantly when at home.
|
|
delay_time = 0; # Trigger instantly when at home.
|
|
};
|
|
}
|