2021-09-11 14:05:39 +00:00
|
|
|
- id: camera_kitchen_notification
|
|
|
|
alias: '[Camera] Kitchen notification'
|
2021-06-24 20:18:01 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
2022-04-30 16:05:15 +00:00
|
|
|
entity_id: alarm_control_panel.home_alarm
|
2021-06-24 20:18:01 +00:00
|
|
|
state: armed_away
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.kitchen_motion_sensor
|
|
|
|
from: 'off'
|
|
|
|
to: 'on'
|
|
|
|
action:
|
2022-10-17 18:51:52 +00:00
|
|
|
- service: notify.mobile_app_iphone_pg
|
2021-06-24 20:18:01 +00:00
|
|
|
data:
|
|
|
|
message: Motion Detected in Kitchen!
|
|
|
|
data:
|
2021-09-11 14:05:39 +00:00
|
|
|
entity_id: camera.kitchen
|
2021-06-24 20:18:01 +00:00
|
|
|
url:
|
|
|
|
_: "/lovelace-tablet/cctv"
|
|
|
|
mode: single
|
|
|
|
|
2021-09-11 14:05:39 +00:00
|
|
|
- id: camera_hallway_notification
|
|
|
|
alias: '[Camera] Hallway notification'
|
2021-06-24 20:18:01 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
2022-04-30 16:05:15 +00:00
|
|
|
entity_id: alarm_control_panel.home_alarm
|
2021-06-24 20:18:01 +00:00
|
|
|
state: armed_away
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.hallway_motion_sensor
|
|
|
|
from: 'off'
|
|
|
|
to: 'on'
|
2022-06-07 11:03:41 +00:00
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.hallway_sensor_2_home_security_motion_detection
|
|
|
|
from: 'off'
|
|
|
|
to: 'on'
|
2021-06-24 20:18:01 +00:00
|
|
|
action:
|
2022-10-17 18:51:52 +00:00
|
|
|
- service: notify.mobile_app_iphone_pg
|
2021-06-24 20:18:01 +00:00
|
|
|
data:
|
|
|
|
message: Motion Detected in Hallway!
|
|
|
|
data:
|
2021-09-11 14:05:39 +00:00
|
|
|
entity_id: camera.hallway
|
2021-06-24 20:18:01 +00:00
|
|
|
url:
|
|
|
|
_: "/lovelace-tablet/cctv"
|
|
|
|
mode: single
|