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
|
value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
|
||||||
at Home'' }}'
|
at Home'' }}'
|
||||||
actions:
|
actions:
|
||||||
- data:
|
- action: notify.alexa_media
|
||||||
|
data:
|
||||||
target:
|
target:
|
||||||
- media_player.living_room
|
- media_player.living_room
|
||||||
- media_player.dinning_room
|
- media_player.dinning_room
|
||||||
message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack.
|
message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack.
|
||||||
action: notify.alexa_media
|
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: '1743311106135'
|
- id: '1743311106135'
|
||||||
@@ -232,10 +232,8 @@
|
|||||||
conditions:
|
conditions:
|
||||||
- condition: time
|
- condition: time
|
||||||
weekday:
|
weekday:
|
||||||
- sun
|
- fri
|
||||||
- mon
|
- sat
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: calendar.family_events
|
entity_id: calendar.family_events
|
||||||
state: 'on'
|
state: 'on'
|
||||||
@@ -243,12 +241,12 @@
|
|||||||
value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
|
value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
|
||||||
at Home'' }}'
|
at Home'' }}'
|
||||||
actions:
|
actions:
|
||||||
- data:
|
- action: notify.alexa_media
|
||||||
|
data:
|
||||||
target:
|
target:
|
||||||
- media_player.living_room
|
- media_player.living_room
|
||||||
- media_player.dinning_room
|
- media_player.dinning_room
|
||||||
message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack.
|
message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack.
|
||||||
action: notify.alexa_media
|
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: '1743385356527'
|
- id: '1743385356527'
|
||||||
|
|||||||
Reference in New Issue
Block a user