2023-06-12 21:56:22 +00:00
|
|
|
- id: alarm_notify_guest
|
2022-06-05 23:27:38 +00:00
|
|
|
alias: '[Alarm] Notify about guest'
|
|
|
|
description: ''
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id:
|
|
|
|
- person.andrzej_legowski
|
|
|
|
- person.matka
|
|
|
|
- person.mariusz_ablewicz
|
2023-09-12 17:28:28 +00:00
|
|
|
- person.mateusz_gizycki
|
|
|
|
- person.piotr_madej
|
2022-06-05 23:27:38 +00:00
|
|
|
to: home
|
|
|
|
condition:
|
|
|
|
- condition: not
|
|
|
|
conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: alarm_control_panel.home_alarm
|
|
|
|
state: disarmed
|
|
|
|
action:
|
2022-10-19 20:25:52 +00:00
|
|
|
- service: notify.mobile_app_iphone
|
2022-06-05 23:27:38 +00:00
|
|
|
data:
|
|
|
|
title: "Someone is near home"
|
|
|
|
message: >
|
2023-09-12 17:28:28 +00:00
|
|
|
{{ state_attr(trigger.entity_id, 'friendly_name') }} has connected to guest wifi
|