Add time-based school announcement for Jordyn
This commit is contained in:
@@ -532,6 +532,42 @@
|
||||
action: notify.alexa_media
|
||||
mode: single
|
||||
|
||||
- id: '1788131534302'
|
||||
alias: Jordyn - Time for School Announcement
|
||||
description: ''
|
||||
triggers:
|
||||
- at: 08:38:00
|
||||
trigger: time
|
||||
conditions:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: time
|
||||
weekday:
|
||||
- wed
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
- condition: template
|
||||
value_template: '{{ now().strftime(''%U'') | int % 2 == 1 }}'
|
||||
actions:
|
||||
- target:
|
||||
entity_id: media_player.hisense_g204x_cd41
|
||||
action: media_player.turn_off
|
||||
data: {}
|
||||
- data:
|
||||
target:
|
||||
- media_player.living_room
|
||||
- media_player.jordyn_s_room
|
||||
- media_player.kitchen
|
||||
- media_player.dinning_room
|
||||
- media_player.family_room
|
||||
message: Time for school! Last call to get your water bottle, snack, and put on your shoes. Good luck, have fun, don't die!!
|
||||
action: notify.alexa_media
|
||||
mode: single
|
||||
|
||||
|
||||
- id: '1788133654305'
|
||||
alias: Jordyn - School and OT Prep Announcement
|
||||
description: ''
|
||||
|
||||
Reference in New Issue
Block a user