From 8e3d226ab6b73e4c826261102db010fe5e2d3a0a Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Thu, 13 Oct 2016 16:23:03 +0000 Subject: [PATCH] Update Automation Lists --- README.md | 7 +++++-- automation/good_night - Copy.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100755 automation/good_night - Copy.yaml diff --git a/README.md b/README.md index 202bf751..08e47880 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Home-AssistantConfig +# Home-Assistant Config by @ccostan Home Assistant configuration files (YAMLs) This is my Home Assistant Configuration. I update it pretty regularly. @@ -11,7 +11,7 @@ Devices I have : * iPads * iPods * iPhones -* Nest Thermostat +* Nest Thermostats * Amazon Echo * Phillips Hue Hub * Circle by Disney @@ -32,6 +32,9 @@ Automations: * Turn on TV Time Lights (dim and color) at Sunset (if home and TV is on) * Turn on Upstaris light if Nest detects people and it's nighttime. * Turn off lights when Nest detects we are away. (Upstairs and Downstairs) +* Turn on some lights when we get home +* Blink ALL lights at 9:30 to remind me to take medicine. (also Alexa Alert) +* Blink Office lights 15 minutes before ANY meeting on my calendar (using IFTTT) ![Screenshot of Dashboards](https://i.imgur.com/HyriksZ.png) diff --git a/automation/good_night - Copy.yaml b/automation/good_night - Copy.yaml new file mode 100755 index 00000000..80fda665 --- /dev/null +++ b/automation/good_night - Copy.yaml @@ -0,0 +1,24 @@ +# There is also an IFTTT recipe that shuts down all lights when Nest goes into Away mode. - event_type= Good_Night + +- alias: 'GoodNight - Away Mode' + trigger: + - platform: event + event_type: good_night + - platform: state + entity_id: binary_sensor.upstairs_away_mode + to: 'on' + - platform: state + entity_id: binary_sensor.downstairs_away_mode + to: 'on' + - platform: state + entity_id: group.family + state: not_home + + condition: + condition: state + entity_id: group.family + state: not_home + + action: + service: light.turn_off + entity_id: group.all_lights