Home-AssistantConfig/config/script/skybell_pressed.yaml

70 lines
3.0 KiB
YAML
Executable File

######################################################################################################
###[SkyBell HD](https://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.",
# "Quick! Hide! Someone just pressed the Doorbell!",
# "Someone answer my door. Someone just pressed the doorbell.",
# "Ding Dong, get to the door before they run away!",
# "Did anyone else hear that? Time to go check the door.",
# "Knock, Knock. Someone just rang the doorbell."
# ] | random }}
#
# - service: script.notify_engine
# data:
# title: 'Front DoorBell'
# value1: 'Someone pressed the doorbell'
# who: 'family'
# ios_category: 'camera'
# camera_entity: 'camera.front_door_last_activity'
# content_type: 'jpeg'
# apns_id: 'information'
#
# - service: script.flash_notify
#
# - service: script.tweet_engine_image
# data:
# 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.",
# "Quick!!! Hide!!!! Someone just pressed the Doorbell!",
# "Someone answer my door. Someone just pressed the doorbell.",
# "Ding Dong, get to the door before they run away! #ditch",
# "The Doorbell was pressed. Smile - You are on Camera!",
# "Did anyone else hear that? Time to go check the door.",
# "Knock, Knock. Housekeeping? Just kidding. Someone just rang the doorbell."
# ] | random + [
# " #Security",
# " (https://github.com/CCOSTAN/Home-AssistantConfig#cameras)",
# " (https://www.vcloudinfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)",
# " (https://amzn.to/2LeJnyl)",
# " #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 }}