Refactor bedtime notification actions to streamline Alexa media announcements and adjust conditions for weekend triggers
This commit is contained in:
@@ -213,12 +213,12 @@
|
||||
value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
|
||||
at Home'' }}'
|
||||
actions:
|
||||
- data:
|
||||
- action: notify.alexa_media
|
||||
data:
|
||||
target:
|
||||
- media_player.living_room
|
||||
- media_player.dinning_room
|
||||
message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack.
|
||||
action: notify.alexa_media
|
||||
mode: single
|
||||
|
||||
- id: '1743311106135'
|
||||
@@ -232,10 +232,8 @@
|
||||
conditions:
|
||||
- condition: time
|
||||
weekday:
|
||||
- sun
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- fri
|
||||
- sat
|
||||
- condition: state
|
||||
entity_id: calendar.family_events
|
||||
state: 'on'
|
||||
@@ -243,12 +241,12 @@
|
||||
value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
|
||||
at Home'' }}'
|
||||
actions:
|
||||
- data:
|
||||
- action: notify.alexa_media
|
||||
data:
|
||||
target:
|
||||
- media_player.living_room
|
||||
- media_player.dinning_room
|
||||
message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack.
|
||||
action: notify.alexa_media
|
||||
mode: single
|
||||
|
||||
- id: '1743385356527'
|
||||
|
||||
Reference in New Issue
Block a user