Hi I would like to create a automation that changes alexa guard to arm_away when me AND my friend leave the home.
so if we both leave the house wifi it starts guarding. this is what i have so far:
##TRIGGER
platform: state
for:
hours: 0
minutes: 0
seconds: 0
milliseconds: 0
entity_id: sensor.username_iphone_ssid
from: WIFI SSID
##CONDITION
condition: state
entity_id: sensor.username_iphone_ssid
state: from: WIFI SSID
##ACTION:
service: alarm_control_panel.alarm_arm_away
target:
entity_id: alarm_control_panel.alexa_guard_5af39
data:
code: 'type: call_service'