Home-AssistantConfig/config/script/skybell_pressed.yaml

56 lines
2.2 KiB
YAML
Raw Normal View History

2018-01-02 00:00:45 +00:00
######################################################################################################
###[SkyBell HD](http://amzn.to/2dcexIB)
# Script to turn on Front light FULL bright for 15m when motion is detected and then return to the normal colors.
# action:
# - service: script.skybell_pressed
#
######################################################################################################
skybell_pressed:
sequence:
- service: logbook.log
data:
name: "SkyBell HD Doorbell:"
message: "Someone Pressed the Doorbell."
- service: script.speech_engine
data:
value1: 'Please check the Front Door. Someone Pressed the Doorbell.'
- service: script.notify_engine
data_template:
title: 'Front DoorBell'
value1: 'Someone pressed the doorbell'
who: 'family'
ios_category: 'camera'
2019-03-17 19:01:20 +00:00
camera_entity: 'camera.stone_door_last_activity'
content_type: 'jpeg'
- service: script.flash_notify
- service: script.tweet_engine_image
data_template:
tweet: >
{{ [
"Oh, that tickled. Someone just pressed the @MySkyBell.",
"Ouch! That hurt. Who touched the SkyBell Doorbell?",
"Someone just poked me in the @MySkybell!",
"I see you! You are at the @MySkyBell and you just pressed it.",
"Someone answer my door. Someone just pressed the doorbell.",
"Knock, Knock. Housekeeping? Just kidding. Someone just rang the doorbell."
] | random + [
" #Security",
" (https://github.com/CCOSTAN/Home-AssistantConfig#cameras)",
" (http://www.vmwareinfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)",
" #HomeAutomation"
] | random }}
image: >-
{{ [
"/config/www/custom_ui/floorplan/images/branding/sleeping.png",
"/config/www/custom_ui/floorplan/images/branding/door.png",
"/config/www/custom_ui/floorplan/images/branding/door2.png",
"/config/www/custom_ui/floorplan/images/branding/light4.png",
"/config/www/custom_ui/floorplan/images/branding/landscape_light.png",
"/config/www/custom_ui/floorplan/images/branding/camera.png",
] | random }}