-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts.yaml
49 lines (47 loc) · 1.16 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
# Remote TV Script
- learn_tv_commands:
sequence:
- service: remote.learn_command
target:
entity_id: remote.hall
data:
device: television
command:
- turn on
- turn off
- volume up
- volume down
- learn_tv_power_button:
sequence:
- service: remote.learn_command
target:
entity_id: remote.hall
data:
device: television
command: power
alternative: true
- learn_car_unlock:
sequence:
- service: remote.learn_command
target:
entity_id: remote.garage
data:
device: car
command: unlock
command_type: rf
#ifttt
# - ifttt_notify:
# sequence:
# - service: ifttt.trigger
# data: {"event":"TestHA_Trigger", "value1":"{{ value1 }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"}
#Sending remote command
- turn_on_ac:
sequence:
- service: remote.send_command
target:
entity_id: remote.hall
data:
device: air conditioner
command:
- turn on
- turn off display