mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-02 21:16:15 +01:00
47ad385ca2
Signed-off-by: Magic_RB <magic_rb@redalder.org>
26 lines
482 B
Nix
26 lines
482 B
Nix
{
|
|
alias = "Alarm - Pending";
|
|
id = "e4771f5a-1205-4fbe-9142-6a56600d7bd4";
|
|
|
|
trigger = [
|
|
{
|
|
entity_id = "alarm_control_panel.home_alarm";
|
|
from = "armed_away";
|
|
platform = "state";
|
|
to = "pending";
|
|
}
|
|
];
|
|
action = [
|
|
{
|
|
data = {
|
|
message = "Alarm Pending - Intruder Detected!";
|
|
data = {
|
|
channel = "Motion";
|
|
importance = "high";
|
|
};
|
|
};
|
|
service = "notify.mobile_app_redrum";
|
|
}
|
|
];
|
|
}
|