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

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