-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts.yaml
executable file
·99 lines (87 loc) · 2.9 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
activate_alexa_actionable_notification:
description: 'Activates an actionable notification on a specific echo device'
fields:
text:
description: 'The text you would like alexa to speak.'
example: 'What would you like the thermostat set to?'
event_id:
description: 'Correlation ID for event responses'
example: 'ask_for_temperature'
alexa_device:
description: 'Alexa device you want to trigger'
example: 'media_player.bedroom_echo'
sequence:
- service: input_text.set_value
data:
entity_id: input_text.alexa_actionable_notification
value: '{"text": "{{ text }}", "event": "{{ event_id }}"}'
- service: media_player.play_media
data:
entity_id: "{{ alexa_device }}"
media_content_type: skill
media_content_id: amzn1.ask.skill.0bf54ab9-3332-4445-9c49-657fe5d7c9e0
# todo: parameterize this stuff...
# see https://valetudo.cloud/pages/integrations/home-assistant-integration.html
vacuum_bad:
alias: "vacuum bad"
sequence:
- service: vacuum.send_command
data:
entity_id: 'vacuum.rockrobo'
command: 'zoned_cleanup'
params:
'zone_ids': ['0844139d-ef95-4afb-9fde-da702ca2f7c3']
vacuum_kuche:
alias: "vacuum küche"
sequence:
- service: vacuum.send_command
data:
entity_id: 'vacuum.rockrobo'
command: 'zoned_cleanup'
params:
'zone_ids': ['1eac7496-d1f7-46e9-a2fc-a65a7a3737f3']
vacuum_buro:
alias: "vacuum büro"
sequence:
- service: vacuum.send_command
data:
entity_id: 'vacuum.rockrobo'
command: 'zoned_cleanup'
params:
'zone_ids': ['d967306c-bcdb-4177-8cfc-f774717604e6']
vacuum_wohnzimmer:
alias: "vacuum wohnzimmer"
sequence:
- service: vacuum.send_command
data:
entity_id: 'vacuum.rockrobo'
command: 'zoned_cleanup'
params:
'zone_ids': ['160e36c4-af72-4136-8181-9403706f3c95']
vacuum_flur:
alias: "vacuum flur"
sequence:
- service: vacuum.send_command
data:
entity_id: 'vacuum.rockrobo'
command: 'zoned_cleanup'
params:
'zone_ids': ['0c7381ec-9d87-40c4-999f-03382c28bc64']
vacuum_abstellkammer:
alias: "vacuum abstellkammer"
sequence:
- service: vacuum.send_command
data:
entity_id: 'vacuum.rockrobo'
command: 'zoned_cleanup'
params:
'zone_ids': ['90dbedf8-46e1-4560-973e-571730f8a091']
vacuum_schlafzimmer:
alias: "vacuum schlafzimmer"
sequence:
- service: vacuum.send_command
data:
entity_id: 'vacuum.rockrobo'
command: 'zoned_cleanup'
params:
'zone_ids': ['25f2862e-9a3c-4c58-b388-44a11a73a149']