Created
May 18, 2019 05:18
-
-
Save Snipercaine/e6a3fa06a12e9421fd968723525cbb4b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##This goes in your Automations.yaml file | |
- alias: who is out of bed | |
id: howisoutofbed7583475893475897345 | |
trigger: | |
- platform: state | |
entity_id: binary_sensor.ttgocam_pir | |
from: 'off' | |
to: 'on' | |
condition: | |
condition: time | |
after: '23:00:00' | |
before: '05:00:00' | |
action: | |
- service: notify.ios_justin_iphone7 | |
data: | |
title: Busted | |
message: Who is out of Bed? | |
data: | |
attachment: | |
content-type: jpeg | |
push: | |
category: camera | |
entity_id: camera.ttgocam_camera | |
- service: notify.ios_janis7 | |
data: | |
title: Mommy Alert | |
message: Who is out of Bed? | |
data: | |
attachment: | |
content-type: jpeg | |
push: | |
category: camera | |
entity_id: camera.ttgocam_camera | |
- alias: girls room doorbell button press | |
id: girlsroomdoorbellbuttonpress94847589y4rthjs | |
trigger: | |
- platform: state | |
entity_id: binary_sensor.ttgocam_button | |
from: 'off' | |
to: 'on' | |
action: | |
- service: media_player.alexa_tts | |
data: | |
entity_id: media_player.zoe_s_echo_dot | |
message: Knock Knock. Someone is at the Lovely Beautiful's door | |
- service: notify.ios_girls_ipad | |
data: | |
title: Knock Knock | |
message: Who is at the door? | |
data: | |
attachment: | |
content-type: jpeg | |
push: | |
category: camera | |
entity_id: camera.ttgocam_camera |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment