Let there be light ... In the morning!

This commit is contained in:
CCOSTAN 2016-11-09 23:59:13 +00:00
parent b38ce0eabd
commit f1c727211b
4 changed files with 59 additions and 4 deletions

41
automation/good_morning.yaml Executable file
View File

@ -0,0 +1,41 @@
######################################################################
## Shut it all down. No one is here or we went to sleep.
######################################################################
- alias: 'Good Morning Routine'
trigger:
- platform: event
event_type: good_morning
- platform: time
after: '06:00:00'
condition:
- condition: state
entity_id: group.family
state: home
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: light.turn_on
entity_id:
- light.kitchen_fridge
- light.s1
- light.s4
data:
brightness: 150
- delay: 02:30:00
- service: light.turn_off
entity_id:
- light.kitchen_fridge
- light.s1
- light.s4

View File

@ -10,9 +10,9 @@
action:
- service: light.turn_on
entity_id:
- group.dinette
- group.kitchen
- group.dinette_lights
- group.kitchen_lights
- service: light.turn_off
entity_id:
- light.office_lamp
- group.living_room
- group.living_room_lights

View File

@ -19,7 +19,7 @@
entity_id: light.outdoor_foyer
brightness: 200
rgb_color: [61,178,112]
- alias: 'Sunset Stuff off'
trigger:
- platform: sun

14
input_boolean/reminders.yaml Executable file
View File

@ -0,0 +1,14 @@
###################################
## Guest Mode Override
###################################
Medicine_Reminder:
icon: mdi:pill
initial: off
Trash_Reminder:
icon: mdi:delete
initial: off
Chore_Reminder:
icon: mdi:human-male-female
initial: off