mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 02:54:41 +00:00
Full Bright Lights if there is movement out front via Skybell and IFTTT.
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
###################################
|
||||
## Flash the lights on Halloween for the Tricker Treaters!
|
||||
###################################
|
||||
- alias: 'halloween flasher'
|
||||
trigger:
|
||||
# - platform: sun
|
||||
# event: sunset
|
||||
- platform: event
|
||||
event_type: skybell_motion_disabled_until_next_year
|
||||
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'below_horizon'
|
||||
- condition: time
|
||||
before: '23:45'
|
||||
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: group.halloween_flasher
|
||||
data:
|
||||
flash: long
|
||||
- delay: 00:00:2
|
||||
- service: light.turn_on
|
||||
entity_id: group.halloween_flasher
|
||||
data:
|
||||
flash: long
|
||||
- delay: 00:00:2
|
||||
- service: light.turn_on
|
||||
entity_id: group.halloween_flasher
|
||||
data:
|
||||
flash: long
|
||||
- delay: 00:00:3
|
||||
- service: light.turn_on
|
||||
entity_id: group.halloween_flasher
|
||||
data:
|
||||
flash: long
|
||||
- delay: 00:00:5
|
||||
- service: light.turn_on
|
||||
entity_id: group.halloween_flasher
|
||||
data:
|
||||
flash: long
|
@@ -14,6 +14,8 @@
|
||||
name: "SkyBell HD Doorbell:"
|
||||
message: "Someone Pressed the Doorbell."
|
||||
|
||||
######################################################################
|
||||
|
||||
- alias: 'Log SkyBell Motion detection'
|
||||
hide_entity: True
|
||||
trigger:
|
||||
@@ -21,7 +23,4 @@
|
||||
event_type: skybell_motion
|
||||
|
||||
action:
|
||||
service: logbook.log
|
||||
data:
|
||||
name: "SkyBell HD Doorbell:"
|
||||
message: "Someone is by the door."
|
||||
- service: script.front_house_motion
|
||||
|
@@ -1,3 +1,13 @@
|
||||
#Color Table
|
||||
# rgb_color: [255,255,255] White
|
||||
#rgb_color: [61,178,112] #Green
|
||||
#rgb_color: [255,112,242] #Purple
|
||||
#rgb_color: [206,22,32] #red
|
||||
|
||||
# service: scene.turn_on
|
||||
# entity_id: scene.month_front_1_colors
|
||||
|
||||
|
||||
- name: month_front_1_colors
|
||||
entities:
|
||||
light.outdoor_sconce_2:
|
||||
@@ -40,8 +50,22 @@
|
||||
state: on
|
||||
brightness: 255
|
||||
|
||||
#Color Table
|
||||
#rgb_color: [61,178,112] #Green
|
||||
#rgb_color: [255,112,242] #Purple
|
||||
#rgb_color: [206,22,32] #red
|
||||
- name: front_full_brightness
|
||||
entities:
|
||||
light.outdoor_sconce_2:
|
||||
state: on
|
||||
rgb_color: [255,255,255]
|
||||
brightness: 255
|
||||
light.outdoor_sconce_1:
|
||||
state: on
|
||||
rgb_color: [255,255,255]
|
||||
brightness: 255
|
||||
light.outdoor_foyer:
|
||||
state: on
|
||||
brightness: 255
|
||||
light.outdoor_sconce_3:
|
||||
state: on
|
||||
brightness: 255
|
||||
|
||||
|
||||
|
@@ -1,9 +1,8 @@
|
||||
######################################################################################################
|
||||
###Script to turn on scene for the appropriate month for the front of the house.
|
||||
###Script to turn on Front light FULL bright for 15m when motion is detected and then return to the normal colors.
|
||||
# action:
|
||||
# - service: script.monthly_front_house_scene
|
||||
# - service: script.front_house_motion
|
||||
#
|
||||
# scenes should be named month_front_[1-12]_colors (month_front_6_colors)
|
||||
######################################################################################################
|
||||
|
||||
front_house_motion:
|
||||
@@ -13,23 +12,12 @@ front_house_motion:
|
||||
name: "SkyBell HD Doorbell:"
|
||||
message: "Someone is by the door."
|
||||
|
||||
- condition: state
|
||||
entity_id: input_boolean.chore_reminder
|
||||
state: 'on'
|
||||
- service: ifttt.trigger
|
||||
data: {"event":"ifttt_notify", "value1":"Chore Reminder On"}
|
||||
|
||||
- condition: state
|
||||
entity_id: input_boolean.pill_reminder
|
||||
state: 'on'
|
||||
- service: ifttt.trigger
|
||||
data: {"event":"ifttt_notify", "value1":"pill Reminder On"}
|
||||
|
||||
- condition: state
|
||||
entity_id: input_boolean.trash_reminder
|
||||
state: 'on'
|
||||
- service: ifttt.trigger
|
||||
data: {"event":"ifttt_notify", "value1":"trash Reminder On"}
|
||||
- condition: sun
|
||||
after: 'sunset'
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.front_full_brightness
|
||||
- delay: 00:15:00
|
||||
- service: script.monthly_front_house_scene
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user