cluster/containers/home-assistant/automations/alarm/pending.nix
main 5b85429327 Add initial CCTV to home assistant
Signed-off-by: main <magic_rb@redalder.org>
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-23 23:01:01 +02:00

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";
}
];
}