Updates to config
This commit is contained in:
@@ -184,6 +184,9 @@
|
||||
data:
|
||||
entity_id: media_player.livingroom_speaker
|
||||
message: You have 15 minutes until bedtime.
|
||||
- service: notify.shield
|
||||
data:
|
||||
message: 15 minutes till bed!
|
||||
- wait_for_trigger:
|
||||
- platform: time
|
||||
at: '21:29:00'
|
||||
@@ -302,3 +305,48 @@
|
||||
target:
|
||||
entity_id: input_boolean.night_mode
|
||||
mode: single
|
||||
- id: '1634785924008'
|
||||
alias: Morning wake up routine
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: template
|
||||
value_template: '{{now().strftime("%a %h %d %H:%M %Z %Y") == (((state_attr(''sensor.pixel_4a_next_alarm'',
|
||||
''Time in Milliseconds'') | int / 1000) + 1*60 ) | timestamp_custom(''%a %h
|
||||
%d %H:%M %Z %Y''))}}
|
||||
|
||||
'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: person.jen
|
||||
state: home
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
before: 07:00:00
|
||||
after: 06:00:00
|
||||
action:
|
||||
- service: script.turn_on
|
||||
target:
|
||||
entity_id: script.morning_routine
|
||||
- service: input_boolean.turn_off
|
||||
target:
|
||||
entity_id: input_boolean.night_mode
|
||||
mode: single
|
||||
- id: '1634835663224'
|
||||
alias: Morning lights turn off
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sun.sun
|
||||
attribute: elevation
|
||||
above: '1'
|
||||
condition: []
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
target:
|
||||
entity_id: scene.morning_lights_2
|
||||
mode: single
|
||||
|
||||
Reference in New Issue
Block a user