From be4fa059b26b17943a4adeeb45d671b34f2e9ce8 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Sat, 14 Jan 2017 02:31:27 +0000 Subject: [PATCH] I think the RF switches are good. Time to reduce the radiation int he house --- automation/late_night_helper.yaml | 117 +++++++++++++++--------------- automation/watchdog.yaml | 16 ++-- 2 files changed, 67 insertions(+), 66 deletions(-) diff --git a/automation/late_night_helper.yaml b/automation/late_night_helper.yaml index 061743ec..36af2535 100755 --- a/automation/late_night_helper.yaml +++ b/automation/late_night_helper.yaml @@ -1,58 +1,59 @@ -################################### -## Late Night lights Section -################################### -- alias: 'Late Night Helper' - trigger: - - platform: state - entity_id: binary_sensor.upstairs_away_mode - state: 'off' - - platform: state - entity_id: binary_sensor.downstairs_away_mode - state: 'off' - - platform: state - entity_id: group.family - state: home - - platform: state - entity_id: group.garage_doors - state: 'open' - for: '00:01:30' - - condition: - condition: and - conditions: - - condition: state - entity_id: sun.sun - state: 'below_horizon' - - condition: time - after: '20:00:00' - before: '02:00:00' - - action: - - service: light.turn_on - entity_id: - - group.living_room_accents - - light.living_room_slider - - light.foyer_door - - light.fridge - - light.M1_front_right - - light.S1 - - light.S4 - data: - brightness: 150 - - service: switch.turn_on - entity_id: switch.kitchen_accents - - delay: '00:00:30' - - service: switch.turn_on - entity_id: switch.living_room_outlet - - delay: '00:00:30' - - service: switch.turn_on - entity_id: switch.foyer_outlet - - delay: '00:08:00' - - service: light.turn_off - entity_id: - - light.S1 - - light.S4 - - light.foyer_door - - light.fridge - - +################################### +## Late Night lights Section +################################### +- alias: 'Late Night Helper' + trigger: + - platform: state + entity_id: binary_sensor.upstairs_away_mode + state: 'off' + - platform: state + entity_id: binary_sensor.downstairs_away_mode + state: 'off' + - platform: state + entity_id: group.family + state: home + - platform: state + entity_id: group.garage_doors + state: 'open' + for: '00:01:30' + + condition: + condition: and + conditions: + - condition: state + entity_id: sun.sun + state: 'below_horizon' + - condition: time + after: '20:00:00' + before: '02:00:00' + + action: + - service: light.turn_on + entity_id: + - group.living_room_accents + - light.living_room_slider + - light.foyer_door + - light.fridge + - light.M1_front_right + - light.S1 + - light.S4 + data: + brightness: 150 + - service: switch.turn_on + entity_id: switch.kitchen_accents + - delay: '00:00:30' + - service: switch.turn_on + entity_id: switch.living_room_outlet + - delay: '00:00:30' + - service: switch.turn_on + entity_id: switch.foyer_outlet +# - delay: '00:08:00' + - service: script.front_house_motion + - service: light.turn_off + entity_id: + - light.S1 + - light.S4 + - light.foyer_door + - light.fridge + + diff --git a/automation/watchdog.yaml b/automation/watchdog.yaml index fd30c3e3..ca71fde4 100755 --- a/automation/watchdog.yaml +++ b/automation/watchdog.yaml @@ -71,15 +71,15 @@ ############################################################################## -- alias: Add some double and triple checking to the 433 RF outlets. - hide_entity: True - trigger: - - platform: time - minutes: '/55' - seconds: 0 +# - alias: Add some double and triple checking to the 433 RF outlets. + # hide_entity: True + # trigger: + # - platform: time + # minutes: '/55' + # seconds: 0 - action: - - service: script.reliability + # action: + # - service: script.reliability ##############################################################################