-
Notifications
You must be signed in to change notification settings - Fork 1
/
scripts.yaml
46 lines (43 loc) · 1.43 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
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.d62fac2f-de60-45b5-84ff-7aa5f6ca1e5f
abrir_fechar_portao_garagem:
description: "Abre ou fecha o portão da garagem"
sequence:
- service: cover.toggle
data:
entity_id: cover.garagem
netflix_quarto:
description: "Netflix Quarto"
sequence:
- service: media_player.turn_on
data:
entity_id: media_player.firestick
- service: media_player.select_source
target:
entity_id: media_player.firestick
data:
source: "com.netflix.ninja"
ar_ventilador_meninos:
description: "Desligar ar condicionado e ligar ventilador"
sequence:
- service: fan.turn_on
entity_id: fan.ventilador_dos_meninos
- service: climate.turn_off
entity_id: climate.ar_condicionado_dos_meninos