2022-12-12 19:30:38 +00:00
|
|
|
- id: camera_livingroom_notification
|
|
|
|
alias: '[Camera] Living room notification'
|
2022-12-12 20:14:49 +00:00
|
|
|
mode: single
|
2021-06-24 20:18:01 +00:00
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.kitchen_motion_sensor
|
|
|
|
from: 'off'
|
|
|
|
to: 'on'
|
2022-12-12 19:30:38 +00:00
|
|
|
# Use open/close sensors
|
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.dining_window_1_open_close
|
|
|
|
to: 'on'
|
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.dining_window_2_open_close
|
|
|
|
to: 'on'
|
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.office_window_open_close
|
|
|
|
to: 'on'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: alarm_control_panel.home_alarm
|
|
|
|
state: armed_away
|
2021-06-24 20:18:01 +00:00
|
|
|
action:
|
2022-10-19 20:25:52 +00:00
|
|
|
- service: notify.mobile_app_iphone
|
2021-06-24 20:18:01 +00:00
|
|
|
data:
|
2022-12-12 19:30:38 +00:00
|
|
|
message: Motion Detected in Living Room!
|
2021-06-24 20:18:01 +00:00
|
|
|
data:
|
2022-12-12 19:30:38 +00:00
|
|
|
entity_id: camera.living_room
|
2021-06-24 20:18:01 +00:00
|
|
|
url:
|
2023-01-25 02:56:51 +00:00
|
|
|
_: "/lovelace-tablet/security"
|
2021-06-24 20:18:01 +00:00
|
|
|
|
2023-06-12 21:56:22 +00:00
|
|
|
- id: camera_hallway_notification
|
2021-09-11 14:05:39 +00:00
|
|
|
alias: '[Camera] Hallway notification'
|
2022-12-12 20:14:49 +00:00
|
|
|
mode: single
|
2021-06-24 20:18:01 +00:00
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.hallway_motion_sensor
|
|
|
|
from: 'off'
|
|
|
|
to: 'on'
|
2022-12-12 19:30:38 +00:00
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.front_door_open_close
|
|
|
|
to: 'on'
|
|
|
|
- platform: state
|
|
|
|
entity_id: lock.front_door_lock_doorlock
|
|
|
|
to: 'unlocked'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: alarm_control_panel.home_alarm
|
|
|
|
state: armed_away
|
2021-06-24 20:18:01 +00:00
|
|
|
action:
|
2022-10-19 20:25:52 +00:00
|
|
|
- service: notify.mobile_app_iphone
|
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:
|
2023-01-25 02:56:51 +00:00
|
|
|
_: "/lovelace-tablet/security"
|
2022-12-12 20:14:49 +00:00
|
|
|
|
2023-06-12 21:56:22 +00:00
|
|
|
- id: camera_hallway_person_notification
|
2022-12-12 20:14:49 +00:00
|
|
|
alias: '[Camera] Hallway person detected'
|
2021-06-24 20:18:01 +00:00
|
|
|
mode: single
|
2022-12-12 20:14:49 +00:00
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.hallway_person_occupancy
|
|
|
|
to: 'on'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: alarm_control_panel.home_alarm
|
|
|
|
state: armed_away
|
|
|
|
action:
|
|
|
|
- service: notify.mobile_app_iphone
|
|
|
|
data:
|
|
|
|
message: >
|
|
|
|
Person detected in Hallway!
|
|
|
|
data:
|
|
|
|
entity_id: camera.hallway_person
|
|
|
|
url:
|
2023-01-25 02:56:51 +00:00
|
|
|
_: "/lovelace-tablet/security"
|
2022-12-12 20:14:49 +00:00
|
|
|
|
2023-06-12 21:56:22 +00:00
|
|
|
- id: camera_livingroom_person_notification
|
2022-12-12 20:14:49 +00:00
|
|
|
alias: '[Camera] Living Room person detected'
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: binary_sensor.living_room_person_occupancy
|
|
|
|
to: 'on'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: alarm_control_panel.home_alarm
|
|
|
|
state: armed_away
|
|
|
|
action:
|
|
|
|
- service: notify.mobile_app_iphone
|
|
|
|
data:
|
|
|
|
message: >
|
|
|
|
Person detected in Living Room!
|
|
|
|
data:
|
|
|
|
entity_id: camera.living_room_person
|
|
|
|
url:
|
2023-01-25 02:56:51 +00:00
|
|
|
_: "/lovelace-tablet/security"
|