added chromecast to turn off at end of sleep timer
This commit is contained in:
@@ -93,7 +93,9 @@
|
||||
entity_id: timer.sleep_timer
|
||||
- service: media_player.turn_off
|
||||
target:
|
||||
entity_id: media_player.lg_tv_remote
|
||||
entity_id:
|
||||
- media_player.lg_tv_remote
|
||||
- media_player.bedroom_tv_chromecast
|
||||
mode: restart
|
||||
- id: '1632963978970'
|
||||
alias: Bedroom lamp on at sunset
|
||||
@@ -305,12 +307,8 @@
|
||||
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''))}}
|
||||
|
||||
'
|
||||
- platform: time
|
||||
at: sensor.pixel_4a_next_alarm
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: person.jen
|
||||
@@ -346,3 +344,19 @@
|
||||
target:
|
||||
entity_id: scene.morning_lights_2
|
||||
mode: single
|
||||
- id: '1635994152897'
|
||||
alias: APP Event - Close Garage
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: ''
|
||||
event_data:
|
||||
event_type: mobile_app_notification_action
|
||||
event_data:
|
||||
action: CLOSEGARAGE
|
||||
condition: []
|
||||
action:
|
||||
- service: cover.close_cover
|
||||
target:
|
||||
entity_id: cover.garage_door
|
||||
mode: single
|
||||
|
||||
Reference in New Issue
Block a user