From b73a669bd54c83ec861b749e4e250c54f985e499 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Sun, 27 Nov 2016 18:40:52 +0000 Subject: [PATCH] New Hue Lights in the Front! --- README.md | 1 - automation/late_night_helper.yaml | 12 ++++++++++-- automation/sunrise_turnon_and_off.yaml | 27 +++++++++++++++++++++++--- automation/tv_time_on_and_off.yaml | 6 +++--- group/Indoor_Outdoor.yaml | 4 ++-- group/lights.yaml | 8 +++++++- 6 files changed, 46 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 3646f411..498231c6 100755 --- a/README.md +++ b/README.md @@ -56,7 +56,6 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt * Notifications and Close garage doors if left open after 9 or 10 PM. * Monitor the reflection rates of Garadget and notify when they being to drop too low when closed (indicating a shift in the controller) * Configure the Alexa Component. -* Turn on Accent lights when TV is sensed on. * Put Dash Buttons out there. * Put Door Sensor in Mailbox * Add Pi-Hole (Ad blocking) to the network with the Pi Zero. (Add to Home Assistant) diff --git a/automation/late_night_helper.yaml b/automation/late_night_helper.yaml index 1be1af26..42a2f7bf 100755 --- a/automation/late_night_helper.yaml +++ b/automation/late_night_helper.yaml @@ -33,11 +33,19 @@ - light.living_room_slider - light.foyer_door - light.fridge - - light.sink - light.M1_front_right + - light.S1 + - light.S4 data: brightness: 150 - service: switch.turn_on entity_id: switch.kitchen_accents - + - delay: 00:15:00 + - service: light.turn_off + entity_id: + - light.S1 + - light.S4 + - light.foyer_door + - light.fridge + diff --git a/automation/sunrise_turnon_and_off.yaml b/automation/sunrise_turnon_and_off.yaml index ba4a288e..63811f75 100755 --- a/automation/sunrise_turnon_and_off.yaml +++ b/automation/sunrise_turnon_and_off.yaml @@ -20,9 +20,30 @@ brightness: 235 #rgb_color: [61,178,112] #Green - rgb_color: [255,112,242] + #rgb_color: [255,112,242] #Purple - + rgb_color: [206,22,32] + #red + - service: light.turn_on + data: + entity_id: light.outdoor_scounce_1 + brightness: 235 + rgb_color: [61,178,112] + #Green + #rgb_color: [255,112,242] + #Purple + #rgb_color: [206,22,32] + #red + - service: light.turn_on + data: + entity_id: light.outdoor_scounce_2 + brightness: 235 + #rgb_color: [61,178,112] + #Green + #rgb_color: [255,112,242] + #Purple + rgb_color: [206,22,32] + #red ###################################################################### - alias: 'Sunset Stuff off' @@ -37,7 +58,7 @@ - service: switch.turn_off entity_id: switch.foyer_outlet - service: light.turn_off - entity_id: light.outdoor_foyer + entity_id: group.outdoor_front_lights data: transition: 1200 - service: light.turn_off diff --git a/automation/tv_time_on_and_off.yaml b/automation/tv_time_on_and_off.yaml index 892c8d86..dea15cde 100755 --- a/automation/tv_time_on_and_off.yaml +++ b/automation/tv_time_on_and_off.yaml @@ -11,7 +11,7 @@ event_type: tv_time - platform: state entity_id: sensor.samsungtv - state: Online + state: 'Online' - platform: time after: '20:00:00' @@ -23,7 +23,7 @@ state: home - condition: state entity_id: sensor.samsungtv - state: Online + state: 'Online' - condition: state entity_id: sun.sun state: 'below_horizon' @@ -45,7 +45,7 @@ trigger: - platform: state entity_id: sensor.samsungtv - state: offline + state: 'Offline' condition: condition: and diff --git a/group/Indoor_Outdoor.yaml b/group/Indoor_Outdoor.yaml index 2c4b1497..c814cc64 100755 --- a/group/Indoor_Outdoor.yaml +++ b/group/Indoor_Outdoor.yaml @@ -15,5 +15,5 @@ Interior Lights: Outdoor Lights: entities: - - light.outdoor_foyer - - light.outdoor_bathroom \ No newline at end of file + - light.outdoor_bathroom + - group.outdoor_front_lights \ No newline at end of file diff --git a/group/lights.yaml b/group/lights.yaml index 5439f581..5e0ee97c 100755 --- a/group/lights.yaml +++ b/group/lights.yaml @@ -62,7 +62,13 @@ Outdoor Pool Lights: - light.P1_front_right - light.P1_back_left - light.P1_back_left - + +Outdoor Front Lights: + entities: + - light.outdoor_foyer + - light.outdoor_scounce_1 + - light.outdoor_scounce_2 + Garage lights: entities: - light.garage_attic