dotfiles/nixng/containers/home-assistant/configs/automations/alarm/disarmed.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

24 lines
437 B
Nix

{
alias = "Alarm - Disarmed";
id = "a8c26d1c-3a71-4a99-b0f3-dc799495a706";
trigger = [
{
entity_id = "alarm_control_panel.home_alarm";
platform = "state";
to = "disarmed";
}
];
action = [
{
data = {
message = "Alarm Disarmed";
data = {
channel = "Motion";
importance = "high";
};
};
service = "notify.mobile_app_redrum";
}
];
}