alias: Ring Alarm - Arm
description: When all devices are 'not_home' set alarm
trigger:
- platform: state
entity_id: group.Device_Tracker
to: not_home
from: home
condition: []
action:
- device_id: xx
domain: alarm_control_panel
entity_id: alarm_control_panel.fleet_alarm
type: arm_away
code: ''
- service: notify.all_devices
data:
title: Ring Alarm
message: Alarm Set
mode: single
I don’t have any real reason to say why, but i notice that your group name is device_tracker & that’s the same as the actual integration that tracks the devices. Perhaps, if nothing else, avoid confusion if you rename the group to be something else - like ‘family_phones’.
Also, what device_tracker integration(s) are you using to actually track these listed devices?