- id: alarm_notify_guest alias: '[Alarm] Notify about guest' description: '' mode: single trigger: - platform: state entity_id: - person.andrzej_legowski - person.piotr_madej - person.matka - person.mariusz_ablewicz to: home condition: - condition: not conditions: - condition: state entity_id: alarm_control_panel.home_alarm state: disarmed action: - service: notify.mobile_app_iphone data: title: "Someone is near home" message: > {{ state_attr(trigger.entity_id, 'friendly_name') }} has connected to guest wifi