-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts.yaml
executable file
·112 lines (112 loc) · 2.83 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
100
101
102
103
104
105
106
107
108
109
110
111
112
desk_lights_toggle:
alias: Desk Lights - Toggle
sequence:
- type: toggle
device_id: ace5c4f968dd804599266a0c2566a3d3
entity_id: light.elgato_key_light
domain: light
- type: toggle
device_id: aabae6131256209db758e19b4cb64932
entity_id: light.monitor_lights
domain: light
mode: single
start_netflix:
sequence:
- service: media_player.select_source
data:
entity_id: media_player.fire_tv_salon
source: com.netflix.ninja
entity_id: media_player.fire_tv_salon
mode: single
alias: Start Netflix
icon: mdi:netflix
stop_netflix:
sequence:
- service: media_player.select_source
data:
entity_id: media_player.fire_tv_salon
source: '!com.netflix.ninja'
entity_id: media_player.fire_tv_salon
mode: single
alias: Stop Netflix
icon: mdi:netflix
thermopompe_salon_power:
sequence:
- service: remote.send_command
target:
device_id: 26377d54271e1a009bd89c17c8353726
data:
device: ThermoPompe Salon
command: Power
mode: single
alias: ThermoPompe Salon - Power
thermopompe_salon_temp_up:
alias: ThermoPompe Salon - Temp Up
sequence:
- service: remote.send_command
target:
device_id: 26377d54271e1a009bd89c17c8353726
data:
device: ThermoPompe Salon
command: Temp Up
mode: single
thermopompe_salon_temp_down:
alias: ThermoPompe Salon - Temp Down
sequence:
- service: remote.send_command
target:
device_id: 26377d54271e1a009bd89c17c8353726
data:
device: ThermoPompe Salon
command: Temp Down
mode: single
instant_message:
alias: Alexa instant message
sequence:
- service: notify.alexa_media
data_template:
target: '{{ states(''input_select.alexa_message_target'') }}'
message: '{{ states(''input_text.alexa_message_text'') }}'
data:
type: announce
mode: single
icon: mdi:bullhorn
camera_cabanon_take_snapshot:
alias: Camera Cabanon - Take Snapshot
sequence:
- service: blink.trigger_camera
target:
entity_id: camera.blink_outdoor_back_camera
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- service: blink.blink_update
- service: camera.snapshot
target:
entity_id: camera.blink_outdoor_back_camera
data:
filename: /config/www/camera_cabanon/snapshot_motion_latest.jpg
mode: single
icon: mdi:camera
camera_driveway_take_snapshot:
alias: Camera Driveway - Take Snapshot
sequence:
- service: blink.trigger_camera
target:
entity_id: camera.blink_outdoor_side_camera
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- service: blink.blink_update
- service: camera.snapshot
target:
entity_id:
- camera.blink_outdoor_side_camera
data:
filename: /config/www/camera_driveway/snapshot_motion_latest.jpg
mode: single
icon: mdi:camera