dotfiles/nixng/containers/home-assistant/configs/automations/alarm/pending.nix
Magic_RB 47ad385ca2 Add the NixNG containers for Home Assistant
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-16 16:08:09 +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";
}
];
}