mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-13 13:29:12 +00:00
Closed #130 - Splits up Late night helper routines.
This commit is contained in:
parent
fb830142a0
commit
3d3a225305
@ -5,16 +5,11 @@
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.upstairs_away_mode
|
|
||||||
- binary_sensor.downstairs_away_mode
|
- binary_sensor.downstairs_away_mode
|
||||||
state: 'off'
|
state: 'off'
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: group.family
|
entity_id: group.family
|
||||||
state: home
|
state: home
|
||||||
- platform: state
|
|
||||||
entity_id: group.garage_doors
|
|
||||||
state: 'open'
|
|
||||||
for: '00:01:30'
|
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
condition: and
|
condition: and
|
||||||
@ -27,10 +22,8 @@
|
|||||||
before: '02:00:00'
|
before: '02:00:00'
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: scene.turn_on
|
|
||||||
entity_id: scene.front_full_brightness
|
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- group.living_room_accents
|
- group.living_room_accents
|
||||||
- light.living_room_slider
|
- light.living_room_slider
|
||||||
- light.foyer_door
|
- light.foyer_door
|
||||||
@ -38,19 +31,18 @@
|
|||||||
- light.M1_front_right
|
- light.M1_front_right
|
||||||
- light.S1
|
- light.S1
|
||||||
- light.S4
|
- light.S4
|
||||||
data:
|
|
||||||
brightness: 150
|
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: switch.kitchen_accents
|
entity_id: switch.kitchen_accents
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: switch.living_room_outlet
|
entity_id: switch.living_room_outlet
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: switch.foyer_outlet
|
entity_id: switch.foyer_outlet
|
||||||
- delay: '00:10:00'
|
- delay: '00:05:00'
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.S1
|
- light.S1
|
||||||
- light.S4
|
- light.S4
|
||||||
- light.foyer_door
|
- light.foyer_door
|
||||||
- light.fridge
|
- light.fridge
|
||||||
- service: script.monthly_color_scene
|
- light.living_room_slider
|
||||||
|
- light.M1_front_right
|
||||||
|
21
automation/late_night_outside_helper.yaml
Executable file
21
automation/late_night_outside_helper.yaml
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
###################################
|
||||||
|
## Late Night lights Section
|
||||||
|
###################################
|
||||||
|
- alias: 'Late Night Helper'
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: group.garage_doors
|
||||||
|
state: 'open'
|
||||||
|
|
||||||
|
condition:
|
||||||
|
condition: and
|
||||||
|
conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: sun.sun
|
||||||
|
state: 'below_horizon'
|
||||||
|
|
||||||
|
action:
|
||||||
|
- service: scene.turn_on
|
||||||
|
entity_id: scene.front_full_brightness
|
||||||
|
- wait_template: "{{ states.group.garage_doors.states == 'closed' }}"
|
||||||
|
- service: script.monthly_color_scene
|
@ -1 +1 @@
|
|||||||
{"9": "switch.living_room_outlet", "12": "group.all_lights", "47": "switch.ge_outdoor_outle_switch_7_0", "16": "switch.kitchen_accent_2", "37": "input_boolean.alert_mode", "48": "switch.ge_outdoor_outle_switch_8_0", "39": "input_boolean.last_message", "17": "input_boolean.guest_mode", "6": "group.dining_room_lights", "7": "group.living_room_accents", "5": "switch.living_room_amp", "42": "input_boolean.meal_time", "49": "input_boolean.guard_dog", "25": "group.interior_lights", "50": "input_boolean.flash", "26": "scene.living_room_tv_time", "28": "switch.foyer_outlet", "34": "group.exterior_lights", "18": "group.den_lights", "44": "input_boolean.good_morning", "31": "group.outdoor_lights", "2": "group.outdoor_front_lights", "8": "switch.printer_outlet", "1": "switch.front_door_outlet", "10": "group.garage_lights", "23": "light.garage_left", "43": "input_boolean.tv_time", "41": "input_boolean.home_stats", "4": "group.dinette_lights", "21": "group.bedroom_lights", "36": "input_boolean.speech_notifications", "52": "light.led_garage_small", "19": "group.all_switches", "35": "input_boolean.school_mode", "33": "group.office_lights", "22": "light.outdoor_den", "24": "group.outdoor_pool_lights", "14": "switch.den_outlet", "38": "scene.front_full_brightness", "53": "input_boolean.color_tornado", "40": "input_boolean.responsibilities", "27": "group.upstairs_lights", "20": "switch.garage_outlet", "15": "group.hallway_lights", "3": "switch.kitchen_accents", "29": "group.amps", "51": "light.led_garage_large", "45": "input_boolean.work", "30": "switch.outlet_304_4", "32": "group.living_room_lights", "46": "light.garage_large", "11": "group.foyer_lights", "13": "group.kitchen_lights"}
|
{"51": "light.led_garage_large", "6": "group.dining_room_lights", "5": "switch.living_room_amp", "50": "input_boolean.flash", "17": "input_boolean.guest_mode", "9": "switch.living_room_outlet", "8": "switch.printer_outlet", "33": "group.office_lights", "19": "group.all_switches", "38": "scene.front_full_brightness", "28": "switch.foyer_outlet", "46": "light.garage_large", "35": "input_boolean.school_mode", "30": "switch.outlet_304_4", "4": "group.dinette_lights", "47": "switch.ge_outdoor_outle_switch_7_0", "10": "group.garage_lights", "39": "input_boolean.last_message", "31": "group.outdoor_lights", "37": "input_boolean.alert_mode", "41": "input_boolean.home_stats", "22": "light.outdoor_den", "21": "group.bedroom_lights", "45": "input_boolean.work", "34": "group.exterior_lights", "44": "input_boolean.good_morning", "49": "input_boolean.guard_dog", "43": "input_boolean.tv_time", "48": "switch.ge_outdoor_outle_switch_8_0", "53": "input_boolean.color_tornado", "14": "switch.den_outlet", "16": "switch.kitchen_accent_2", "54": "light.led_outdoor_den", "52": "light.led_garage_small", "36": "input_boolean.speech_notifications", "42": "input_boolean.meal_time", "40": "input_boolean.responsibilities", "2": "group.outdoor_front_lights", "20": "switch.garage_outlet", "13": "group.kitchen_lights", "1": "switch.front_door_outlet", "26": "scene.living_room_tv_time", "29": "group.amps", "3": "switch.kitchen_accents", "24": "group.outdoor_pool_lights", "12": "group.all_lights", "15": "group.hallway_lights", "7": "group.living_room_accents", "27": "group.upstairs_lights", "25": "group.interior_lights", "18": "group.den_lights", "11": "group.foyer_lights", "23": "light.garage_left", "32": "group.living_room_lights"}
|
@ -72,11 +72,13 @@ Outdoor Front Lights:
|
|||||||
- light.outdoor_sconce_3
|
- light.outdoor_sconce_3
|
||||||
- light.led_garage_large
|
- light.led_garage_large
|
||||||
- light.led_garage_small
|
- light.led_garage_small
|
||||||
|
- light.led_outdoor_den
|
||||||
|
|
||||||
LED Lights:
|
LED Lights:
|
||||||
entities:
|
entities:
|
||||||
- light.led_garage_large
|
- light.led_garage_large
|
||||||
- light.led_garage_small
|
- light.led_garage_small
|
||||||
|
- light.led_outdoor_den
|
||||||
|
|
||||||
Garage lights:
|
Garage lights:
|
||||||
control: hidden
|
control: hidden
|
||||||
|
Loading…
x
Reference in New Issue
Block a user