Compare commits
No commits in common. "9e7401d1335aa421916d8afe7536478ea1cb0d7e" and "cb20c222d33b60b5cb730a53410f1abbd63fc1b0" have entirely different histories.
9e7401d133
...
cb20c222d3
@ -23,27 +23,7 @@
|
||||
action:
|
||||
- service: alarm_control_panel.alarm_trigger
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "ALARM! Pending for disarm"
|
||||
message: >
|
||||
{{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
entity_id: camera.hallway
|
||||
url: "/lovelace-tablet/security"
|
||||
- service: camera.snapshot
|
||||
data:
|
||||
filename: /config/www/cctv/hallway.jpg
|
||||
target:
|
||||
entity_id: camera.hallway
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
title: "ALARM. Pending to disarm"
|
||||
message: "Motion in hallway - {{ state_attr(trigger.entity_id, 'friendly_name') }}"
|
||||
target: [ "1070507369164984372" ]
|
||||
data:
|
||||
images:
|
||||
- "/config/www/cctv/hallway.jpg"
|
||||
- service: script.cctv_notify_hallway
|
||||
|
||||
- id: alarm-away-living-roomn
|
||||
alias: '[Alarm] Trigger alarm when not at home (Living Room)'
|
||||
@ -84,27 +64,7 @@
|
||||
action:
|
||||
- service: alarm_control_panel.alarm_trigger
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "ALARM! Pending for disarm"
|
||||
message: >
|
||||
{{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
entity_id: camera.living_room
|
||||
url: "/lovelace-tablet/security"
|
||||
- service: camera.snapshot
|
||||
data:
|
||||
filename: /config/www/cctv/living_room.jpg
|
||||
target:
|
||||
entity_id: camera.hallway
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
title: "ALARM. Pending to disarm"
|
||||
message: "Motion in hallway - {{ state_attr(trigger.entity_id, 'friendly_name') }}"
|
||||
target: [ "1070507369164984372" ]
|
||||
data:
|
||||
images:
|
||||
- "/config/www/cctv/living_room.jpg"
|
||||
- service: script.cctv_notify_hallway
|
||||
|
||||
- id: alarm-away-remaining
|
||||
alias: '[Alarm] Trigger alarm when not at home'
|
||||
|
@ -120,15 +120,10 @@ good_morning:
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
temperature: 23
|
||||
target:
|
||||
entity_id:
|
||||
- climate.dining_thermostat
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
temperature: 25
|
||||
target:
|
||||
entity_id:
|
||||
- climate.office_thermostat
|
||||
- climate.dining_thermostat
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
temperature: 21
|
||||
@ -188,7 +183,7 @@ leave_home:
|
||||
- service: script.vacuum_today
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
temperature: 18
|
||||
temperature: 21
|
||||
target:
|
||||
entity_id:
|
||||
- climate.office_thermostat
|
||||
@ -233,13 +228,8 @@ arrive_home:
|
||||
temperature: 23
|
||||
target:
|
||||
entity_id:
|
||||
- climate.office_thermostat
|
||||
- climate.dining_thermostat
|
||||
- climate.bedroom_thermostat
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
temperature: 25
|
||||
target:
|
||||
entity_id:
|
||||
- climate.office_thermostat
|
||||
mode: single
|
||||
icon: mdi:home-import-outline
|
@ -31,3 +31,53 @@ cctv_off:
|
||||
- switch.hallway_recordings
|
||||
- switch.hallway_snapshots
|
||||
- switch.hallway_detect
|
||||
|
||||
cctv_notify_hallway:
|
||||
alias: CCTV notify hallway
|
||||
sequence:
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "ALARM! Pending for disarm"
|
||||
message: >
|
||||
{{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
entity_id: camera.hallway
|
||||
url: "/lovelace-tablet/security"
|
||||
- service: camera.snapshot
|
||||
data:
|
||||
filename: /config/www/cctv/hallway.jpg
|
||||
target:
|
||||
entity_id: camera.hallway
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
title: "ALARM. Pending to disarm"
|
||||
message: "Motion in hallway"
|
||||
target: [ "1070507369164984372" ]
|
||||
data:
|
||||
images:
|
||||
- "/config/www/cctv/hallway.jpg"
|
||||
|
||||
cctv_notify_living_room:
|
||||
alias: CCTV notify living room
|
||||
sequence:
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "ALARM! Pending for disarm"
|
||||
message: >
|
||||
{{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
entity_id: camera.living_room
|
||||
url: "/lovelace-tablet/security"
|
||||
- service: camera.snapshot
|
||||
data:
|
||||
filename: /config/www/cctv/living_room.jpg
|
||||
target:
|
||||
entity_id: camera.hallway
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
title: "ALARM. Pending to disarm"
|
||||
message: "Motion in living room"
|
||||
target: [ "1070507369164984372" ]
|
||||
data:
|
||||
images:
|
||||
- "/config/www/cctv/living_room.jpg"
|
||||
|
Loading…
Reference in New Issue
Block a user