-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts.yaml
108 lines (108 loc) · 2.64 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
start_netflix:
alias: Start Netflix
sequence:
- service: media_player.select_source
target:
entity_id: media_player.firestick
data:
source: com.netflix.ninja
stop_netflix:
alias: Stop Netflix
sequence:
- service: media_player.select_source
target:
entity_id: media_player.firestick
data:
source: "!com.netflix.ninja"
gaming_station_on:
alias: Gaming Station - On
sequence:
- service: light.turn_on
target:
entity_id: light.luce_scrivania
- service: switch.turn_on
target:
entity_id: switch.casse_pc
- service: switch.turn_on
target:
entity_id: switch.fisso
mode: single
icon: mdi:desktop-classic
gaming_station_off:
alias: Gaming Station - Off
sequence:
- service: light.turn_off
target:
entity_id: light.luce_scrivania
- service: switch.turn_off
target:
entity_id: switch.casse_pc
- service: switch.turn_off
target:
entity_id: switch.fisso
mode: single
icon: mdi:desktop-classic
work_station_on:
alias: Work Station - On
sequence:
- service: light.turn_on
target:
entity_id: light.luce_scrivania
- service: switch.turn_on
target:
entity_id: switch.casse_pc
mode: single
icon: mdi:account-hard-hat
work_station_off:
alias: Work Station - Off
sequence:
- service: light.turn_off
target:
entity_id: light.luce_scrivania
- service: switch.turn_off
target:
entity_id: switch.casse_pc
mode: single
icon: mdi:account-hard-hat
piantana_sala_on:
alias: Piantana Sala - On
sequence:
- service: light.turn_on
target:
entity_id: light.piantana_sala_luce_grande
- service: light.turn_on
target:
entity_id: light.piantana_sala_luce_piccola
mode: single
icon: mdi:floor-lamp-dual
piantana_sala_off:
alias: Piantana Sala - Off
sequence:
- service: light.turn_off
target:
entity_id: light.piantana_sala_luce_grande
- service: light.turn_off
target:
entity_id: light.piantana_sala_luce_piccola
mode: single
icon: mdi:floor-lamp-dual-outline
piantana_sala_set_level:
alias: Piantana Sala - Set Level
variables:
brightness:
type: integer
description: Brightness
default: 100
sequence:
- service: light.turn_on
target:
entity_id: light.piantana_sala_luce_grande
data:
brightness: "{{ brightness }}"
- service: light.turn_on
target:
entity_id: light.piantana_sala_luce_piccola
data:
brightness: "{{ brightness }}"
mode: single
icon: mdi:floor-lamp-dual