-
Notifications
You must be signed in to change notification settings - Fork 0
/
automation_bedroom1_wake_up_reminder.yaml
executable file
·61 lines (61 loc) · 1.52 KB
/
automation_bedroom1_wake_up_reminder.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
automation:
- id: "bedroom1_wake_up_reminder"
alias: Bedroom 1 - Wake Up Reminder
description: ""
trigger:
- platform: time
at: 07:12:00
condition:
- condition: state
entity_id: input_boolean.school_holidays
state: "off"
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: media_player.volume_set
data:
entity_id: media_player.bedroom_1_alexa
volume_level: 0.5
- service: notify.alexa_media
data:
message: Good morning, its time to get up for school.
data:
type: tts
target:
- media_player.bedroom_1_alexa
mode: single
- id: "bedroom1_leave_reminder"
alias: Bedroom 1 - Leave Reminder
description: ""
trigger:
- platform: time
at: 08:00:00
condition:
- condition: state
entity_id: input_boolean.school_holidays
state: "off"
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: media_player.volume_set
data:
entity_id: media_player.bedroom_1_alexa
volume_level: 0.5
- service: notify.alexa_media
data:
message: Reminder. You've got ten minutes before your friends arrive, are you ready ?
data:
type: tts
target:
- media_player.bedroom_1_alexa
mode: single