-
Notifications
You must be signed in to change notification settings - Fork 6
/
scripts.yaml
74 lines (74 loc) · 2.1 KB
/
scripts.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
62
63
64
65
66
67
68
69
70
71
72
73
74
spotifypl:
alias: 'Spotify Evening '
sequence:
- service: spotcast.start
data:
device_name: 'Dining room speaker'
uri: 'spotify:playlist:1YbSH5Led9X17LktqaZevR'
- delay: '00:00:05'
- service: media_player.shuffle_set
data:
entity_id: media_player.spotify
shuffle: true
#another good playlist: 76nfWKXVK9Z5HKOK3SV6mv
spotifymorning:
alias: 'Spotify Morning'
sequence:
- service: spotcast.start
data:
device_name: 'Dining room speaker'
uri: 'spotify:playlist:1HhsKOqv81FpJd7S0CMhxz'
- delay: '00:00:05'
- service: media_player.shuffle_set
data:
entity_id: media_player.spotify
shuffle: true
switchoncorridor:
alias: switchoncorridor
sequence:
- service: switch.turn_on
entity_id: switch.aeotec_dsc18103_micro_smart_switch_2nd_edition_switch
movie_on:
alias: 'Prep for movie time'
sequence:
- service: switch.turn_on
entity_id: switch.projector
- service: switch.turn_on
entity_id: switch.screen
movie_off:
alias: 'Done with movies'
sequence:
- service: switch.turn_off
entity_id: switch.projector
- delay: '00:00:01'
- service: switch.turn_off
entity_id: switch.projector
- service: switch.turn_off
entity_id: switch.screen
switchlamp:
sequence:
- service: switch.turn_on
entity_id: switch.dining_lamp
killswitch:
sequence:
- service: switch.turn_off
entity_id: group.all_switches
- service: light.turn_off
entity_id: group.all_lights
- service: media_player.media_stop
entity_id: media_player.spotify
cuckoo:
sequence:
- service: media_player.turn_on
data:
entity_id: media_player.mini_ca
- service: media_player.volume_set
data:
entity_id: media_player.mini_ca
volume_level: .3
- delay: '00:00:02'
- service: media_player.play_media
data:
entity_id: media_player.mini_ca
media_content_id: https://hass.kkhabibullin.com/local/cuckoo-clock-sound.mp3
media_content_type: 'audio/mp3'