mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 20:16:52 +00:00
Lots of little maintenance updates across the environment thanks to Spook
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
######################################################################
|
||||
## Stuff that needs to happen at 08:30am.
|
||||
######################################################################
|
||||
|
||||
- alias: 'Kids 700'
|
||||
id: 3e0c4f40-0d55-42a0-9af9-37124b1b9b8b
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '08:30:00'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
- condition: state
|
||||
entity_id: input_boolean.school_mode
|
||||
state: 'on'
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
|
||||
action:
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- light.d1
|
||||
- light.d2
|
||||
- switch.office_lamp_switch_socket
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.dining_room_lights
|
||||
|
||||
- wait_template: >-
|
||||
{{ states.sun.sun.state == 'above_horizon' }}
|
||||
- service: homeassistant.turn_off
|
||||
entity_id:
|
||||
- group.kitchen_accents
|
||||
- service: light.turn_off
|
||||
entity_id: all
|
@@ -1,36 +0,0 @@
|
||||
######################################################################
|
||||
## Stuff that needs to happen at 08:00am.
|
||||
######################################################################
|
||||
|
||||
- alias: 'Timed 0800'
|
||||
id: 7bf33e23-021c-4e11-946b-b052b81fd2bc
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '08:00:00'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
- condition: state
|
||||
entity_id: input_boolean.school_mode
|
||||
state: 'on'
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
|
||||
action:
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- group.kitchen_accents
|
||||
- delay: 00:15:00
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- light.sink
|
||||
- light.fridge
|
||||
- light.k4
|
@@ -1,12 +1,13 @@
|
||||
######################################################################
|
||||
## Automation for 08:30 AM Daily Tasks
|
||||
## Automation for 07:00 AM Daily Tasks
|
||||
## https://www.vcloudinfo.com/click-here
|
||||
## This automation handles actions to be performed at 8:30 AM,
|
||||
## typically related to the family's morning routine.
|
||||
######################################################################
|
||||
|
||||
- alias: 'Kids left for the day'
|
||||
id: 7cc9a7d6-8918-4a4a-98e7-a46abc9df4f1
|
||||
- alias: 'Kids 830'
|
||||
id: 3e0c4f40-0d55-42a0-9af9-37124b1b9b8b
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '08:30:00'
|
||||
@@ -15,22 +16,30 @@
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: input_boolean.school_mode
|
||||
state: 'on'
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
entity_id: sun.sun
|
||||
state: below_horizon
|
||||
|
||||
action:
|
||||
- wait_template: "{{ is_state('group.garage_doors', 'open') }}"
|
||||
timeout: '00:45:00'
|
||||
- delay: 00:03:00
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- light.d1
|
||||
- light.d2
|
||||
- light.sink
|
||||
- light.fridge
|
||||
- light.k4
|
||||
- group.kitchen_accents
|
||||
- switch.office_lamp_switch_socket
|
||||
|
||||
- wait_template: >-
|
||||
{{ states.sun.sun.state == 'above_horizon' }}
|
||||
- service: homeassistant.turn_on
|
||||
entity_id: switch.alarm_panel_1_motion_detection
|
||||
- service: button.press
|
||||
entity_id: button.alarm_panel_1_restart_browser
|
||||
- service: homeassistant.turn_off
|
||||
entity_id:
|
||||
- group.kitchen_accents
|
||||
- service: light.turn_off
|
||||
entity_id: all
|
||||
|
@@ -17,7 +17,7 @@
|
||||
- wait_template: >-
|
||||
{{ not is_state('media_player.livingroomCC', 'playing') }}
|
||||
- wait_template: >-
|
||||
{{ not is_state('media_player.whole_house', 'playing') }}
|
||||
{{ not is_state('media_player.everywhere', 'playing') }}
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
|
@@ -14,7 +14,7 @@
|
||||
to: 'off'
|
||||
for: '00:02:00'
|
||||
- platform: state
|
||||
entity_id: media_player.whole_house
|
||||
entity_id: media_player.everywhere
|
||||
to: 'off'
|
||||
for: '00:02:00'
|
||||
|
||||
|
@@ -35,6 +35,7 @@
|
||||
- group.exterior_lights
|
||||
- light.outdoor_front_lights
|
||||
- group.outdoor_seasonal
|
||||
- group.kitchen_accents
|
||||
|
||||
- service: input_boolean.turn_off
|
||||
entity_id:
|
||||
|
@@ -21,8 +21,9 @@
|
||||
after: '07:00:00'
|
||||
before: '11:00:00'
|
||||
action:
|
||||
- service: light.turn_on
|
||||
- service: homeassistant.turn_on
|
||||
entity_id:
|
||||
- switch.lr_amp
|
||||
- light.kitchen_lights
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.lr_amp
|
||||
- switch.alarm_panel_1_motion_detection
|
||||
|
@@ -51,7 +51,9 @@
|
||||
- group.outdoor_seasonal
|
||||
- switch.kitchen_accent_2
|
||||
- group.master_bathroom_accents
|
||||
- switch.alarm_panel_1_motion_detection
|
||||
- service: script.interior_off
|
||||
|
||||
|
||||
- alias: 'Bed Presence AMP Trigger'
|
||||
id: 26846f7b-bc76-43d2-99be-af552d2300f
|
||||
@@ -66,7 +68,6 @@
|
||||
entity_id: group.bed
|
||||
to: 'off'
|
||||
id: "out_of_bed"
|
||||
|
||||
action:
|
||||
choose:
|
||||
- alias: "SomeOne in Bed"
|
||||
@@ -83,8 +84,8 @@
|
||||
- switch.kitchen_accent_2
|
||||
- light.outdoor_bathroom
|
||||
- group.master_bathroom_accents
|
||||
- group.landscaping
|
||||
|
||||
- group.landscaping
|
||||
- switch.alarm_panel_1_motion_detection
|
||||
default:
|
||||
- service: homeassistant.turn_on
|
||||
target:
|
||||
|
Reference in New Issue
Block a user