-
Notifications
You must be signed in to change notification settings - Fork 6
/
scripts.yaml
47 lines (46 loc) · 1.85 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
browser_tablet:
sequence:
- event: browser_command
event_data:
command: navigate
navigation_path: /lovelace/11
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.'
event_id:
description: 'Correlation ID for event responses'
alexa_device:
description: 'Alexa device you want to trigger'
sequence:
- service: input_text.set_value
data_template:
entity_id: input_text.alexa_actionable_notification
value: '{"text": "{{ text }}", "event": "{{ event_id }}"}'
- service: media_player.play_media
data_template:
entity_id: "{{ alexa_device }}"
media_content_type: skill
media_content_id: amzn1.ask.skill.36be6177-12c9-4f56-bdce-18ad4d7ec930
my_computer_notify_url:
alias: "My Computer - Notify Url"
sequence:
- service: mqtt.publish
data:
topic: "iotlink/workgroup/drzzspc/commands/notify"
payload: '{ "title": "My Notification Title", "message": "This is an example of notification using IOT Link", "iconUrl": "", "launchParams": "toast://open/https://iotlink.gitlab.io" }'
my_computer_notify_app:
alias: "My Computer - Notify App"
sequence:
- service: mqtt.publish
data:
topic: "iotlink/workgroup/drzzspc/commands/notify"
payload: '{ "title": "My Notification Title", "message": "This is an example of notification using IOT Link", "iconUrl": "", "launchParams": "toast://open/C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe#https://iotlink.gitlab.io" }'
my_computer_vol_mute:
alias: "My Computer - Toggle Mute"
sequence:
- service: mqtt.publish
data:
topic: "iotlink/workgroup/drzzspc/commands/volume/mute"
payload: ""