added chromecast to turn off at end of sleep timer
This commit is contained in:
@@ -93,7 +93,9 @@
|
|||||||
entity_id: timer.sleep_timer
|
entity_id: timer.sleep_timer
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: media_player.lg_tv_remote
|
entity_id:
|
||||||
|
- media_player.lg_tv_remote
|
||||||
|
- media_player.bedroom_tv_chromecast
|
||||||
mode: restart
|
mode: restart
|
||||||
- id: '1632963978970'
|
- id: '1632963978970'
|
||||||
alias: Bedroom lamp on at sunset
|
alias: Bedroom lamp on at sunset
|
||||||
@@ -305,12 +307,8 @@
|
|||||||
alias: Morning wake up routine
|
alias: Morning wake up routine
|
||||||
description: ''
|
description: ''
|
||||||
trigger:
|
trigger:
|
||||||
- platform: template
|
- platform: time
|
||||||
value_template: '{{now().strftime("%a %h %d %H:%M %Z %Y") == (((state_attr(''sensor.pixel_4a_next_alarm'',
|
at: sensor.pixel_4a_next_alarm
|
||||||
''Time in Milliseconds'') | int / 1000) + 1*60 ) | timestamp_custom(''%a %h
|
|
||||||
%d %H:%M %Z %Y''))}}
|
|
||||||
|
|
||||||
'
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: person.jen
|
entity_id: person.jen
|
||||||
@@ -346,3 +344,19 @@
|
|||||||
target:
|
target:
|
||||||
entity_id: scene.morning_lights_2
|
entity_id: scene.morning_lights_2
|
||||||
mode: single
|
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