From 3559e5803c347b1c41ade128bf6f3103e7c3186d Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Fri, 2 Dec 2016 21:25:09 +0000 Subject: [PATCH] Testing CRAZY conditions. --- ...t_logger.yaml => ifttt_SkyBellHD.yaml.old} | 23 +++--------- automation/ifttt_logger.yaml.old | 15 ++++++++ group/home_mode.yaml | 3 ++ group/views.yaml | 6 ++-- script/front_house_motion.yaml.old | 36 +++++++++++++++++++ 5 files changed, 62 insertions(+), 21 deletions(-) rename automation/{ifttt_logger.yaml => ifttt_SkyBellHD.yaml.old} (53%) create mode 100755 automation/ifttt_logger.yaml.old create mode 100755 script/front_house_motion.yaml.old diff --git a/automation/ifttt_logger.yaml b/automation/ifttt_SkyBellHD.yaml.old similarity index 53% rename from automation/ifttt_logger.yaml rename to automation/ifttt_SkyBellHD.yaml.old index 99760a7e..bfe7fe65 100755 --- a/automation/ifttt_logger.yaml +++ b/automation/ifttt_SkyBellHD.yaml.old @@ -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,11 +9,11 @@ event_type: skybell_pressed action: - service: logbook.log - data: + - service: logbook.log + - data: name: "SkyBell HD Doorbell:" message: "Someone Pressed the Doorbell." - + - alias: 'Log SkyBell Motion detection' hide_entity: True trigger: @@ -39,4 +24,4 @@ service: logbook.log data: name: "SkyBell HD Doorbell:" - message: "Someone is by the door." \ No newline at end of file + message: "Someone is by the door." diff --git a/automation/ifttt_logger.yaml.old b/automation/ifttt_logger.yaml.old new file mode 100755 index 00000000..a02d9333 --- /dev/null +++ b/automation/ifttt_logger.yaml.old @@ -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." + diff --git a/group/home_mode.yaml b/group/home_mode.yaml index b646a946..27317f83 100755 --- a/group/home_mode.yaml +++ b/group/home_mode.yaml @@ -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 diff --git a/group/views.yaml b/group/views.yaml index a83eaddf..1799f000 100755 --- a/group/views.yaml +++ b/group/views.yaml @@ -22,13 +22,15 @@ 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 @@ -51,7 +53,7 @@ Lights: - group.garage_lights - group.outdoor_pool_lights - group.outdoor_front_lights - - group.switches + - group.all_switches Info: view: yes diff --git a/script/front_house_motion.yaml.old b/script/front_house_motion.yaml.old new file mode 100755 index 00000000..a6ed84ff --- /dev/null +++ b/script/front_house_motion.yaml.old @@ -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"} + + + + \ No newline at end of file