diff --git a/automation/garadget.yaml b/automation/garadget.yaml index 4252af04..512b62b9 100755 --- a/automation/garadget.yaml +++ b/automation/garadget.yaml @@ -1,6 +1,6 @@ ################################### ## Garadget Stuff - [Garadget](http://amzn.to/2jQLpVQ) - Garage Door opener/sensor -## +## ################################### - alias: Garadget Reflection Rates @@ -14,20 +14,20 @@ entity_id: sensor.small_garage_reflection_rate below: 85 # for: '00:05:00' - + condition: - condition: template value_template: "{{ states('cover.large_garage') == 'closed' }}" - condition: template value_template: "{{ states('cover.small_garage') == 'closed' }}" - + action: - service: script.ifttt_notify data_template: value1: 'Check Garage Doors Reflection:' value2: "Small: {{ states('sensor.small_garage_reflection_rate')}}" value3: "Large: {{ states('sensor.large_garage_reflection_rate')}}" - + ############################################################################## - alias: Is the Garage door Open at night - Checks every 60 minutes or 5 minutes after we drive away. @@ -35,9 +35,10 @@ trigger: - platform: time minutes: '/60' + seconds: '00' - platform: state entity_id: group.family - state: not_home + state: not_home for: 00:05:00 condition: @@ -47,7 +48,7 @@ conditions: - condition: state entity_id: group.family - state: not_home + state: not_home for: 00:05:00 - condition: or conditions: @@ -64,16 +65,15 @@ - condition: template value_template: "{{ states('cover.large_garage') == 'opened' }}" - condition: template - value_template: "{{ states('cover.small_garage') == 'opened'}}" - + value_template: "{{ states('cover.small_garage') == 'opened'}}" + action: - service: script.ifttt_notify data_template: value1: 'Check Garage Doors:' value2: "Small: {{ states('cover.small_garage')}}" value3: "Large: {{ states('cover.large_garage')}}" - + - service: script.Voice_notify data_template: value1: "Please check the garage doors. The Small garage is {{ states('cover.small_garage')}} and the large garage is {{ states('cover.large_garage')}}" - \ No newline at end of file diff --git a/automation/tv_time_on_and_off.yaml b/automation/tv_time_on_and_off.yaml index 461ee42b..b3f5396c 100755 --- a/automation/tv_time_on_and_off.yaml +++ b/automation/tv_time_on_and_off.yaml @@ -34,10 +34,11 @@ state: 'off' action: - - service: scene.turn_on - entity_id: scene.tv_time - service: input_boolean.turn_off entity_id: input_boolean.tv_time + - service: scene.turn_on + entity_id: scene.tv_time + ###################################################################### ## Turn off the Living room lights when the TV is turned off. diff --git a/emulated_hue_ids.json b/emulated_hue_ids.json index bf953813..73e61538 100644 --- a/emulated_hue_ids.json +++ b/emulated_hue_ids.json @@ -1 +1 @@ -{"8": "switch.printer_outlet", "12": "group.all_lights", "40": "input_boolean.responsibilities", "5": "switch.living_room_amp", "24": "group.outdoor_pool_lights", "30": "switch.outlet_304_4", "27": "group.upstairs_lights", "13": "group.kitchen_lights", "18": "group.den_lights", "33": "group.office_lights", "7": "group.living_room_accents", "14": "switch.den_outlet", "15": "group.hallway_lights", "25": "group.interior_lights", "23": "light.garage_left", "38": "scene.front_full_brightness", "9": "switch.living_room_outlet", "29": "group.amps", "4": "group.dinette_lights", "37": "input_boolean.alert_mode", "19": "group.all_switches", "36": "input_boolean.speech_notifications", "2": "group.outdoor_front_lights", "26": "scene.living_room_tv_time", "35": "input_boolean.school_mode", "16": "switch.kitchen_accent_2", "41": "input_boolean.home_stats", "1": "switch.front_door_outlet", "20": "switch.garage_outlet", "11": "group.foyer_lights", "22": "light.outdoor_den", "21": "group.bedroom_lights", "17": "input_boolean.guest_mode", "6": "group.dining_room_lights", "10": "group.garage_lights", "34": "group.exterior_lights", "39": "input_boolean.last_message", "3": "switch.kitchen_accents", "31": "group.outdoor_lights", "28": "switch.foyer_outlet", "32": "group.living_room_lights"} \ No newline at end of file +{"5": "switch.living_room_amp", "24": "group.outdoor_pool_lights", "39": "input_boolean.last_message", "42": "input_boolean.meal_time", "18": "group.den_lights", "38": "scene.front_full_brightness", "19": "group.all_switches", "7": "group.living_room_accents", "36": "input_boolean.speech_notifications", "20": "switch.garage_outlet", "45": "input_boolean.work", "25": "group.interior_lights", "17": "input_boolean.guest_mode", "27": "group.upstairs_lights", "13": "group.kitchen_lights", "28": "switch.foyer_outlet", "8": "switch.printer_outlet", "15": "group.hallway_lights", "21": "group.bedroom_lights", "3": "switch.kitchen_accents", "10": "group.garage_lights", "4": "group.dinette_lights", "2": "group.outdoor_front_lights", "23": "light.garage_left", "9": "switch.living_room_outlet", "26": "scene.living_room_tv_time", "35": "input_boolean.school_mode", "11": "group.foyer_lights", "43": "input_boolean.tv_time", "40": "input_boolean.responsibilities", "12": "group.all_lights", "22": "light.outdoor_den", "37": "input_boolean.alert_mode", "6": "group.dining_room_lights", "16": "switch.kitchen_accent_2", "31": "group.outdoor_lights", "14": "switch.den_outlet", "44": "input_boolean.good_morning", "33": "group.office_lights", "32": "group.living_room_lights", "41": "input_boolean.home_stats", "1": "switch.front_door_outlet", "29": "group.amps", "34": "group.exterior_lights", "30": "switch.outlet_304_4"} \ No newline at end of file