Testing CRAZY conditions.

This commit is contained in:
CCOSTAN
2016-12-02 21:25:09 +00:00
parent 0fabac443b
commit 3559e5803c
5 changed files with 62 additions and 21 deletions

View File

@@ -1,18 +1,3 @@
###################################
## LOG IFTTT Stuff - Rachio
###################################
- alias: 'Log Sprinkler Activity'
hide_entity: True
trigger:
- platform: event
event_type: rachio_water_stops
action:
service: logbook.log
data:
name: "Rachio Sprinkler:"
message: "The Lawn was watered just now."
###################################
## LOG IFTTT Stuff - SkyBell
###################################
@@ -24,8 +9,8 @@
event_type: skybell_pressed
action:
service: logbook.log
data:
- service: logbook.log
- data:
name: "SkyBell HD Doorbell:"
message: "Someone Pressed the Doorbell."

View File

@@ -0,0 +1,15 @@
###################################
## LOG IFTTT Stuff - Rachio
###################################
- alias: 'Log Sprinkler Activity'
hide_entity: True
trigger:
- platform: event
event_type: rachio_water_stops
action:
service: logbook.log
data:
name: "Rachio Sprinkler:"
message: "The Lawn was watered just now."

View File

@@ -2,3 +2,6 @@ home_modes:
entities:
- input_boolean.guest_mode
- input_boolean.no_school
- input_boolean.chore_reminder
- input_boolean.pill_reminder
- input_boolean.trash_reminder

View File

@@ -22,14 +22,16 @@ default_view:
- group.garage_lights
- group.outdoor_pool_lights
- group.outdoor_lights
- group.switches
- group.all_switches
Doors:
view: yes
icon: mdi:security-home
entities:
- group.family
- group.garage_doors
Lights:
view: yes
icon: mdi:lightbulb
@@ -51,7 +53,7 @@ Lights:
- group.garage_lights
- group.outdoor_pool_lights
- group.outdoor_front_lights
- group.switches
- group.all_switches
Info:
view: yes

View File

@@ -0,0 +1,36 @@
######################################################################################################
###Script to turn on scene for the appropriate month for the front of the house.
# action:
# - service: script.monthly_front_house_scene
#
# scenes should be named month_front_[1-12]_colors (month_front_6_colors)
######################################################################################################
front_house_motion:
sequence:
- service: logbook.log
data:
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"}