Not many seem to be interested in this, but I’ll post up the update in case someone in the future is looking for something like this.
So here is where I landed. This seems to work flawlessly, or at least I haven’t had the scenario where it didn’t work properly. I’m still working on arming and disarming via presence, but that will be done soon as well. I’m monitoring different ways via notifications to see which is the most reliable. So far it seems like Life 360 is the way I’m going to go, but I want to test it a few more days before I implement it. I’m not sure if I’m going to use the away mode or not. I’ve got some cool countdowns utilizing my Google Homes, but I haven’t figured out how to interrupt the countdown for not_home to home. I may decide I don’t care that much and just use instant arm for both away and home if my presence automations are reliable. I’m also going to setup dynamic notifications, but again I’m not too worried about that.
[{"id":"5bf05af2.a54944","type":"subflow","name":"Alarm Armed? (2)","info":"","category":"","in":[{"x":260,"y":300,"wires":[{"id":"bae7d16d.a5236"},{"id":"e91d640b.d99d58"}]}],"out":[{"x":800,"y":300,"wires":[{"id":"bae7d16d.a5236","port":0},{"id":"e91d640b.d99d58","port":0}]}],"env":[],"status":{"x":800,"y":220,"wires":[{"id":"bae7d16d.a5236","port":0},{"id":"e91d640b.d99d58","port":0},{"id":"89580b7.d5a29f8","port":0},{"id":"31e7bc6.2ac0f44","port":0},{"id":"e14d2fd5.ac559","port":0},{"id":"dd01be7e.c8353","port":0}]}},{"id":"bae7d16d.a5236","type":"api-current-state","z":"5bf05af2.a54944","name":"Alarm Armed Home?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"armed_home","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":420,"y":280,"wires":[[],[]]},{"id":"e91d640b.d99d58","type":"api-current-state","z":"5bf05af2.a54944","name":"Alarm Armed Away?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"armed_away","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":420,"y":320,"wires":[[],[]]},{"id":"89580b7.d5a29f8","type":"poll-state","z":"5bf05af2.a54944","name":"Disarmed?","server":"26956a45.92d866","version":1,"updateinterval":"60","updateIntervalUnits":"seconds","outputinitially":false,"outputonchanged":true,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","halt_if":"disarmed","halt_if_type":"str","halt_if_compare":"is","outputs":2,"x":380,"y":200,"wires":[[],[]]},{"id":"31e7bc6.2ac0f44","type":"poll-state","z":"5bf05af2.a54944","name":"Armed Away?","server":"26956a45.92d866","version":1,"updateinterval":"60","updateIntervalUnits":"seconds","outputinitially":false,"outputonchanged":true,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","halt_if":"armed_away","halt_if_type":"str","halt_if_compare":"is","outputs":2,"x":390,"y":160,"wires":[[],[]]},{"id":"e14d2fd5.ac559","type":"poll-state","z":"5bf05af2.a54944","name":"Armed Home?","server":"26956a45.92d866","version":1,"updateinterval":"60","updateIntervalUnits":"seconds","outputinitially":false,"outputonchanged":true,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","halt_if":"armed_home","halt_if_type":"str","halt_if_compare":"is","outputs":2,"x":390,"y":120,"wires":[[],[]]},{"id":"dd01be7e.c8353","type":"poll-state","z":"5bf05af2.a54944","name":"Disarmed?","server":"26956a45.92d866","version":1,"updateinterval":"60","updateIntervalUnits":"seconds","outputinitially":false,"outputonchanged":true,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","halt_if":"disarmed","halt_if_type":"str","halt_if_compare":"is","outputs":2,"x":380,"y":80,"wires":[[],[]]},{"id":"7fc43fa8.558bd","type":"subflow","name":"Alarm Triggers (2)","info":"","category":"","in":[],"out":[{"x":320,"y":40,"wires":[{"id":"4d149ce3.631214","port":0},{"id":"b3cf9048.0225f","port":0},{"id":"4c189166.3bac7","port":0},{"id":"f469c217.890fd","port":0}]}],"env":[],"status":{"x":320,"y":220,"wires":[{"id":"4d149ce3.631214","port":0},{"id":"b3cf9048.0225f","port":0},{"id":"4c189166.3bac7","port":0},{"id":"f469c217.890fd","port":0},{"id":"4d149ce3.631214","port":1},{"id":"b3cf9048.0225f","port":1},{"id":"4c189166.3bac7","port":1},{"id":"f469c217.890fd","port":1}]}},{"id":"4d149ce3.631214","type":"server-state-changed","z":"7fc43fa8.558bd","name":"Exterior windows","server":"26956a45.92d866","version":1,"entityidfilter":"group.exterior_windows","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":100,"y":40,"wires":[[],[]]},{"id":"b3cf9048.0225f","type":"server-state-changed","z":"7fc43fa8.558bd","name":"Exterior doors","server":"26956a45.92d866","version":1,"entityidfilter":"group.exterior_doors","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":90,"y":100,"wires":[[],[]]},{"id":"4c189166.3bac7","type":"server-state-changed","z":"7fc43fa8.558bd","name":"Garage open","server":"26956a45.92d866","version":1,"entityidfilter":"cover.door_garage","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"open","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":90,"y":160,"wires":[[],[]]},{"id":"f469c217.890fd","type":"server-state-changed","z":"7fc43fa8.558bd","name":"Garage open","server":"26956a45.92d866","version":1,"entityidfilter":"cover.door_garage","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"opening","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":90,"y":220,"wires":[[],[]]},{"id":"bedb8102.ac531","type":"subflow","name":"House Alarm Triggered (2)","info":"","category":"","in":[{"x":40,"y":40,"wires":[{"id":"8412da75.8bebc8"}]}],"out":[],"env":[],"status":{"x":360,"y":220,"wires":[{"id":"8412da75.8bebc8","port":0},{"id":"fef7cfa9.9feaf","port":0}]}},{"id":"e844b4a0.8332e8","type":"api-call-service","z":"bedb8102.ac531","name":"All lights on 100%","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_on","entityId":"group.all_lights","data":"{\"brightness_pct\":\"100\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":430,"y":40,"wires":[["7cc8ea3c.5e87f4"]]},{"id":"e1e68ffb.b6083","type":"api-call-service","z":"bedb8102.ac531","name":"Siren on!","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_on","entityId":"light.siren_strobe_alarm","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":400,"y":100,"wires":[["55a7f90e.065b38"]]},{"id":"55a7f90e.065b38","type":"stoptimer","z":"bedb8102.ac531","duration":"2","units":"Minute","payloadtype":"num","payloadval":"0","name":"2min","x":530,"y":100,"wires":[["7e64cb65.ccedd4"],[]]},{"id":"7e64cb65.ccedd4","type":"api-call-service","z":"bedb8102.ac531","name":"Siren off","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_off","entityId":"light.siren_strobe_alarm","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":660,"y":100,"wires":[["efd9750e.83ec08"]]},{"id":"f2dff3b2.46c85","type":"api-current-state","z":"bedb8102.ac531","name":"Siren still on?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.siren_strobe_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":960,"y":100,"wires":[["9a3f502d.6e1de"],[]]},{"id":"9a3f502d.6e1de","type":"api-call-service","z":"bedb8102.ac531","name":"Turn siren off","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_off","entityId":"light.siren_strobe_alarm","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":1130,"y":100,"wires":[["f2dff3b2.46c85"]]},{"id":"efd9750e.83ec08","type":"delay","z":"bedb8102.ac531","name":"1sec","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":790,"y":100,"wires":[["f2dff3b2.46c85"]]},{"id":"8efc07f6.a53428","type":"api-call-service","z":"bedb8102.ac531","name":"Emergency lights on 100%","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_on","entityId":"group.all_lights","data":"{\"brightness_pct\":\"100\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":960,"y":40,"wires":[["10bf0bc6.067f04"]]},{"id":"7cc8ea3c.5e87f4","type":"delay","z":"bedb8102.ac531","name":"1sec","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":590,"y":40,"wires":[["10bf0bc6.067f04"]]},{"id":"10bf0bc6.067f04","type":"api-current-state","z":"bedb8102.ac531","name":"All lights on?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"group.all_lights","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":750,"y":40,"wires":[[],["8efc07f6.a53428"]]},{"id":"ae2a7185.0d221","type":"api-call-service","z":"bedb8102.ac531","name":"Triggered! Notification","server":"26956a45.92d866","version":1,"service_domain":"notify","service":"pushover","entityId":"","data":"{\"message\":\"The Home Alarm has been triggered!\",\"title\":\"Home Assistant\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":440,"y":160,"wires":[[]]},{"id":"8412da75.8bebc8","type":"api-current-state","z":"bedb8102.ac531","name":"Alarm Triggered?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"triggered","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":170,"y":40,"wires":[["ae2a7185.0d221","e844b4a0.8332e8","e1e68ffb.b6083"],[]]},{"id":"fef7cfa9.9feaf","type":"server-state-changed","z":"bedb8102.ac531","name":"Disarmed?","server":"26956a45.92d866","version":1,"entityidfilter":"alarm_control_panel.home_alarm","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"disarmed","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"x":140,"y":220,"wires":[[],[]]},{"id":"e209e6fb.f06258","type":"subflow","name":"House disarmed (2)","info":"","category":"","in":[{"x":40,"y":140,"wires":[{"id":"34585a5.711fea6"}]}],"out":[],"env":[],"status":{"x":320,"y":260,"wires":[{"id":"34585a5.711fea6","port":1}]}},{"id":"e7d17b3a.80d5d8","type":"api-call-service","z":"e209e6fb.f06258","name":"Turn off armed lights","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_off","entityId":"group.armed_lights","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":420,"y":40,"wires":[["f1941cf0.8e44"]]},{"id":"fabf3bc7.3848b8","type":"api-call-service","z":"e209e6fb.f06258","name":"Say \"House is disarmed.\"","server":"26956a45.92d866","version":1,"service_domain":"tts","service":"google_cloud_say","entityId":"media_player.living_room_speaker","data":"{\"message\":\"The house is disarmed.\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":610,"y":160,"wires":[[]]},{"id":"2bc0e46e.31934c","type":"api-call-service","z":"e209e6fb.f06258","name":"Set volume 30%","server":"26956a45.92d866","version":1,"service_domain":"media_player","service":"volume_set","entityId":"media_player.living_room_speaker","data":"{\"volume_level\":0.3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":400,"y":160,"wires":[["fabf3bc7.3848b8"]]},{"id":"34585a5.711fea6","type":"api-current-state","z":"e209e6fb.f06258","name":"Disarmed?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"disarmed","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":150,"y":140,"wires":[["e7d17b3a.80d5d8","2bc0e46e.31934c"],["902dd43a.7c22e8"]]},{"id":"8e6e3f4e.48274","type":"api-call-service","z":"e209e6fb.f06258","name":"Turn siren off","server":"26956a45.92d866","version":1,"service_domain":"switch","service":"turn_off","entityId":"switch.alarm_siren","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":530,"y":220,"wires":[["ed85f6f3.b2cee8"]]},{"id":"902dd43a.7c22e8","type":"api-current-state","z":"e209e6fb.f06258","name":"Siren on?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"switch.alarm_siren","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":380,"y":220,"wires":[["8e6e3f4e.48274"],[]]},{"id":"712c60df.6ddcf","type":"api-current-state","z":"e209e6fb.f06258","name":"Siren still on?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"switch.alarm_siren","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":840,"y":220,"wires":[["bb057ab4.4e7818"],[]]},{"id":"bb057ab4.4e7818","type":"api-call-service","z":"e209e6fb.f06258","name":"Turn siren off","server":"26956a45.92d866","version":1,"service_domain":"switch","service":"turn_off","entityId":"switch.alarm_siren","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":1010,"y":220,"wires":[["712c60df.6ddcf"]]},{"id":"ec6a3e4c.9a17f","type":"api-call-service","z":"e209e6fb.f06258","name":"Turn off armed lights","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_off","entityId":"group.armed_lights","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":1000,"y":40,"wires":[["65c18a65.f80894"]]},{"id":"65c18a65.f80894","type":"api-current-state","z":"e209e6fb.f06258","name":"Armed lights still on?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"group.armed_lights","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":780,"y":40,"wires":[["ec6a3e4c.9a17f"],[]]},{"id":"f1941cf0.8e44","type":"delay","z":"e209e6fb.f06258","name":"1sec","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":590,"y":40,"wires":[["65c18a65.f80894"]]},{"id":"ed85f6f3.b2cee8","type":"delay","z":"e209e6fb.f06258","name":"1sec","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":670,"y":220,"wires":[["712c60df.6ddcf"]]},{"id":"fa484c19.401f7","type":"subflow","name":"Armed away (2)","info":"","category":"","in":[{"x":40,"y":20,"wires":[{"id":"50025098.d767"}]}],"out":[],"env":[],"status":{"x":220,"y":180,"wires":[{"id":"50025098.d767","port":0},{"id":"50025098.d767","port":1},{"id":"7fa03bf6.503aa4","port":0}]}},{"id":"50025098.d767","type":"api-current-state","z":"fa484c19.401f7","name":"Armed away?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"armed_away","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":160,"y":20,"wires":[["b1934e50.7c5c4","5d185a09.7eb224"],["b3360389.87f34"]]},{"id":"977c36a.d6ffdc8","type":"api-call-service","z":"fa484c19.401f7","name":"GH say \"The alarm is armed away.\"","server":"26956a45.92d866","version":1,"service_domain":"tts","service":"google_cloud_say","entityId":"media_player.living_room_speaker","data":"{\"message\":\"The house is armed away.\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":660,"y":80,"wires":[["d34ed623.1e0be8"]]},{"id":"5d185a09.7eb224","type":"api-call-service","z":"fa484c19.401f7","name":"Set volume 70%","server":"26956a45.92d866","version":1,"service_domain":"media_player","service":"volume_set","entityId":"media_player.living_room_speaker","data":"{\"volume_level\":0.7}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":400,"y":80,"wires":[["977c36a.d6ffdc8"]]},{"id":"2ab3f6fe.8dd77a","type":"api-call-service","z":"fa484c19.401f7","name":"GH say \"The alarm was not set.\"","server":"26956a45.92d866","version":1,"service_domain":"tts","service":"google_cloud_say","entityId":"media_player.living_room_speaker","data":"{\"message\":\"The alarm failed to arm.\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":650,"y":260,"wires":[["56094215.3e875c"]]},{"id":"b3360389.87f34","type":"api-call-service","z":"fa484c19.401f7","name":"Set volume 70%","server":"26956a45.92d866","version":1,"service_domain":"media_player","service":"volume_set","entityId":"media_player.living_room_speaker","data":"{\"volume_level\":0.7}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":400,"y":260,"wires":[["2ab3f6fe.8dd77a"]]},{"id":"b1934e50.7c5c4","type":"api-call-service","z":"fa484c19.401f7","name":"Armed lights on, 15%","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_on","entityId":"group.armed_lights","data":"{\"brightness_pct\":15,\"transition\":1.5,\"rgb_color\":[255,0,0]}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":420,"y":20,"wires":[["fa056ff1.46413"]]},{"id":"fa056ff1.46413","type":"delay","z":"fa484c19.401f7","name":"1sec","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":590,"y":20,"wires":[["8f0df270.d74e1"]]},{"id":"4d3be80e.0e9cc8","type":"api-call-service","z":"fa484c19.401f7","name":"Armed lights on, 15%","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_on","entityId":"group.armed_lights","data":"{\"brightness_pct\":15,\"transition\":1.5,\"rgb_color\":[255,0,0]}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":980,"y":20,"wires":[["8f0df270.d74e1"]]},{"id":"8f0df270.d74e1","type":"api-current-state","z":"fa484c19.401f7","name":"Armed lights on?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"group.armed_lights","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":770,"y":20,"wires":[[],["4d3be80e.0e9cc8"]]},{"id":"d34ed623.1e0be8","type":"api-call-service","z":"fa484c19.401f7","name":"Armed Away Notification","server":"26956a45.92d866","version":1,"service_domain":"notify","service":"pushover","entityId":"","data":"{\"message\":\"The house is Armed Away\",\"title\":\"Home Assistant\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":930,"y":80,"wires":[[]]},{"id":"56094215.3e875c","type":"api-call-service","z":"fa484c19.401f7","name":"Did not Armed Away Notification","server":"26956a45.92d866","version":1,"service_domain":"notify","service":"pushover","entityId":"","data":"{\"message\":\"The house was *NOT* Armed Away\",\"title\":\"Home Assistant\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":930,"y":260,"wires":[[]]},{"id":"7fa03bf6.503aa4","type":"poll-state","z":"fa484c19.401f7","name":"Disarmed?","server":"26956a45.92d866","version":1,"updateinterval":"60","updateIntervalUnits":"seconds","outputinitially":false,"outputonchanged":true,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","halt_if":"disarmed","halt_if_type":"str","halt_if_compare":"is","outputs":2,"x":80,"y":180,"wires":[[],[]]},{"id":"2d6cd573.771aea","type":"subflow","name":"Armed Home (2)","info":"","category":"","in":[{"x":40,"y":40,"wires":[{"id":"5d400ad8.305184"}]}],"out":[],"env":[],"status":{"x":220,"y":240,"wires":[{"id":"5d400ad8.305184","port":0},{"id":"39ad6110.ea3c7e","port":0}]}},{"id":"d00645f3.8e4b68","type":"api-call-service","z":"2d6cd573.771aea","name":"Say \"The house is armed.\"","server":"26956a45.92d866","version":1,"service_domain":"tts","service":"google_cloud_say","entityId":"media_player.living_room_speaker","data":"{\"message\":\"The house is armed.\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":680,"y":60,"wires":[[]]},{"id":"e6809c92.66ea4","type":"api-call-service","z":"2d6cd573.771aea","name":"Set volume 40%","server":"26956a45.92d866","version":1,"service_domain":"media_player","service":"volume_set","entityId":"media_player.living_room_speaker","data":"{\"volume_level\":0.4}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":460,"y":60,"wires":[["d00645f3.8e4b68"]]},{"id":"5d400ad8.305184","type":"api-current-state","z":"2d6cd573.771aea","name":"Armed Home?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"armed_home","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":180,"y":40,"wires":[["4ead9beb.8bf314","dbc5a919.7f54d8","e6809c92.66ea4"],["ff521e79.31f0b"]]},{"id":"4ead9beb.8bf314","type":"api-call-service","z":"2d6cd573.771aea","name":"Armed lights on, 15%","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_on","entityId":"group.armed_lights","data":"{\"brightness_pct\":15,\"transition\":1.5,\"rgb_color\":[255,0,0]}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":480,"y":20,"wires":[["6ec56ef5.8b3f"]]},{"id":"8d67453d.885478","type":"api-call-service","z":"2d6cd573.771aea","name":"Say \"The house failed to arm.\"","server":"26956a45.92d866","version":1,"service_domain":"tts","service":"google_cloud_say","entityId":"media_player.living_room_speaker","data":"{\"message\":\"The house failed to arm.\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":710,"y":300,"wires":[[]]},{"id":"ff521e79.31f0b","type":"api-call-service","z":"2d6cd573.771aea","name":"Set volume 40%","server":"26956a45.92d866","version":1,"service_domain":"media_player","service":"volume_set","entityId":"media_player.living_room_speaker","data":"{\"volume_level\":0.4}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":480,"y":300,"wires":[["8d67453d.885478"]]},{"id":"cbc1c574.1d8c58","type":"api-call-service","z":"2d6cd573.771aea","name":"Armed lights on, 15%","server":"26956a45.92d866","version":1,"service_domain":"light","service":"turn_on","entityId":"group.armed_lights","data":"{\"brightness_pct\":15,\"transition\":1.5,\"rgb_color\":[255,0,0]}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":1040,"y":20,"wires":[["df79a3d7.f54ba"]]},{"id":"df79a3d7.f54ba","type":"api-current-state","z":"2d6cd573.771aea","name":"Armed lights on?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"group.armed_lights","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":830,"y":20,"wires":[[],["cbc1c574.1d8c58"]]},{"id":"6ec56ef5.8b3f","type":"delay","z":"2d6cd573.771aea","name":"1sec","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":650,"y":20,"wires":[["df79a3d7.f54ba"]]},{"id":"39ad6110.ea3c7e","type":"poll-state","z":"2d6cd573.771aea","name":"Disarmed?","server":"26956a45.92d866","version":1,"updateinterval":"60","updateIntervalUnits":"seconds","outputinitially":false,"outputonchanged":true,"entity_id":"alarm_control_panel.home_alarm","state_type":"str","halt_if":"disarmed","halt_if_type":"str","halt_if_compare":"is","outputs":2,"x":80,"y":240,"wires":[[],[]]},{"id":"dbc5a919.7f54d8","type":"api-current-state","z":"2d6cd573.771aea","name":"Garage Open?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"open","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"cover.door_garage","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":460,"y":100,"wires":[["5432b76d.5fea08"],[]]},{"id":"5432b76d.5fea08","type":"api-call-service","z":"2d6cd573.771aea","name":"Close Garage","server":"26956a45.92d866","version":1,"service_domain":"cover","service":"close_cover","entityId":"cover.door_garage","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":640,"y":100,"wires":[["cd3a2a85.cdac08"]]},{"id":"cd3a2a85.cdac08","type":"delay","z":"2d6cd573.771aea","name":"1sec","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":790,"y":100,"wires":[["e394bef5.554a9"]]},{"id":"e394bef5.554a9","type":"api-current-state","z":"2d6cd573.771aea","name":"Garage Open?","server":"26956a45.92d866","version":1,"outputs":2,"halt_if":"open","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"cover.door_garage","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":960,"y":100,"wires":[["f45f8fb5.edb9c"],[]]},{"id":"f45f8fb5.edb9c","type":"api-call-service","z":"2d6cd573.771aea","name":"Close Garage","server":"26956a45.92d866","version":1,"service_domain":"cover","service":"close_cover","entityId":"cover.door_garage","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":true,"x":1140,"y":100,"wires":[["e394bef5.554a9"]]},{"id":"5a4c4c9a.8e97d4","type":"tab","label":"Home Security System","disabled":false,"info":""},{"id":"2a5a4e7b.f88f72","type":"server-state-changed","z":"5a4c4c9a.8e97d4","name":"Home Alarm Mode","server":"26956a45.92d866","version":1,"entityidfilter":"alarm_control_panel.home_alarm","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":false,"x":110,"y":100,"wires":[["ae1c2ee0.84e41"]]},{"id":"ae1c2ee0.84e41","type":"switch","z":"5a4c4c9a.8e97d4","name":"Filter Alarm Status","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"armed_home","vt":"str"},{"t":"eq","v":"armed_away","vt":"str"},{"t":"eq","v":"disarmed","vt":"str"},{"t":"eq","v":"triggered","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":410,"y":100,"wires":[["9408750a.95c6b8"],["efea14b6.eac328"],["51bbf255.61a04c"],["ec6988a4.83f968"]]},{"id":"3193f76c.7a17f8","type":"comment","z":"5a4c4c9a.8e97d4","name":"From Manual Alarm Panel_______________________________","info":"","x":250,"y":40,"wires":[]},{"id":"208f6d7e.e16702","type":"comment","z":"5a4c4c9a.8e97d4","name":"Trigger automation________________________________","info":"","x":230,"y":160,"wires":[]},{"id":"9408750a.95c6b8","type":"subflow:2d6cd573.771aea","z":"5a4c4c9a.8e97d4","name":"Armed Home","env":[],"x":670,"y":20,"wires":[]},{"id":"efea14b6.eac328","type":"subflow:fa484c19.401f7","z":"5a4c4c9a.8e97d4","name":"Armed Away","env":[],"x":670,"y":80,"wires":[]},{"id":"51bbf255.61a04c","type":"subflow:e209e6fb.f06258","z":"5a4c4c9a.8e97d4","name":"Disarmed","env":[],"x":660,"y":140,"wires":[]},{"id":"ec6988a4.83f968","type":"subflow:bedb8102.ac531","z":"5a4c4c9a.8e97d4","name":"Triggered","env":[],"x":660,"y":200,"wires":[]},{"id":"d38682dc.d5c77","type":"subflow:7fc43fa8.558bd","z":"5a4c4c9a.8e97d4","name":"Alarm Triggers","env":[],"x":100,"y":200,"wires":[["a1898eaa.0bc66"]]},{"id":"a1898eaa.0bc66","type":"subflow:5bf05af2.a54944","z":"5a4c4c9a.8e97d4","name":"","env":[],"x":280,"y":200,"wires":[["f303c632.2291e8"]]},{"id":"f303c632.2291e8","type":"api-call-service","z":"5a4c4c9a.8e97d4","name":"Triggered","server":"26956a45.92d866","version":1,"service_domain":"alarm_control_panel","service":"alarm_trigger","entityId":"alarm_control_panel.home_alarm","data":"{\"code\":\"5849\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":440,"y":200,"wires":[[]]},{"id":"26956a45.92d866","type":"server","z":"","name":"Hass.io","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]
Alarm panel code:
platform: manual
name: Home Alarm
code: !secret alarm_code
pending_time: 0
delay_time: 0
trigger_time: 120
armed_away:
trigger_time: 30
delay_time: 90
pending_time: 30