-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts.yaml
executable file
·146 lines (129 loc) · 6.24 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
############################################################
# Send IR command for turning on/off Logitech z906
############################################################
logitech_z906_turn_on_off:
alias: Send IR command for turning on/off Logitech z906
sequence:
- service: broadlink.send
data:
host: !secret broadlink_kitchen_host
packet:
- 'JgBIAAABKJIUERQ1FBEUERQRFBEUERMRFBEUERQRFBEUERM2FBEUNRQRFBEUERQRExEUERQRFDUUNhQ1FDUUNhQ1FDYTNhQREwANBQ=='
############################################################
# Send IR command for making volume up Logitech z906
############################################################
logitech_z906_volume_up:
alias: Send IR command for making volume up Logitech z906
sequence:
- service: broadlink.send
data:
host: !secret broadlink_kitchen_host
packet:
- 'JgBQAAABLI8YDhM3Fg4UERcOFBEWEBUOFBEYDhYPFw4WDxM2Fg8UNhQQEzcVEBU0FRAWNBITFTUVNBUPFzMXDxYzFw4XNBUPEwAF5AABLEUYAA0FAAAAAAAAAAA'
############################################################
# Send IR command for making volume down Logitech z906
############################################################
logitech_z906_volume_down:
alias: Send IR command for making volume down Logitech z906
sequence:
- service: broadlink.send
data:
host: !secret broadlink_kitchen_host
packet:
- 'JgBQAAABKZISExU0ExMVEBMQFhAVEBITFRAVEBUQFRARFBU0FBEVNhQQFDYVEBQ1FRATNhU1FRAVNRQQEjgVDxM4EhMUEBQ2FAAF5AABKEkTAA0FAAAAAAAAAAA'
############################################################
# Send IR command for changing lavel Logitech z906
############################################################
logitech_z906_change_level:
alias: Send IR command for changing lavel Logitech z906
sequence:
- service: broadlink.send
data:
host: !secret broadlink_kitchen_host
packet:
- 'JgCAAAABKpIVEBI3FRAWEBQQFBASFBQRERQUERQQERQUERQ2FRAVNRMRFTUWEBQ0FhAVEBEUFBAUNxQQEjgVEBE4FTUVNRQ1EQAF5wABKkcVAAxfAAEpSBUADF8AASpHFQAMXwABKUgVAAxeAAEqSBUADF4AAStHFAAMXwABK0cUAA0FAAAAAAAAAAA'
############################################################
# Send IR command for changing output type [2.1, 4.1, 5.1] Logitech z906
############################################################
logitech_z906_change_output_sound:
alias: Send IR command for changing output type [2.1, 4.1, 5.1] Logitech z906
sequence:
- service: broadlink.send
data:
host: !secret broadlink_kitchen_host
packet:
- 'JgCQAAABKpEWEBU0FRAVEBYQFBAUERUQFRAVEBUQFBAWEBQ2FBAVNRUQEzYVNRU0FBEVEBITFRAVNRUQEhMVEBQ1FTQWNBQ2FAAF5AABKkcVAAxeAAErRxUADF4AAStGFgAMXgABKkcWAAxeAAErRxIADGEAAStHEQAMYQABLEcVAAxdAAEsRhUADF4AASlJEwANBQAAAAAAAAAA'
############################################################
# Send IR command for mute Logitech z906
############################################################
logitech_z906_mute:
alias: Send IR command for mute Logitech z906
sequence:
- service: broadlink.send
data:
host: !secret broadlink_kitchen_host
packet:
- 'JgBoAAABKJQVDxM4FRAUEBQREhQUEBQRFREUEBQRFBEUERI3EhQUNRMSFTYTEBU2FRAUNRU0FTURORQQEjgSExQ1ExMUERQPEgAF5wABKEoSAAxhAAEoShIADGEAASpIFAAMXwABKkgUAA0F'
############################################################
# Send IR command for selecting next input source
############################################################
logitech_z906_select_source:
alias: Send IR command for selecting next input source
sequence:
- service: broadlink.send
data:
host: !secret broadlink_kitchen_host
packet:
- "JgBQAAABK48ZDBczGA0XDhMSFg8WDhgOFw4UEBcOFw4XDhcyGA4WMxcOFw4VERYzFw4WDxcOFw4TNhcyGDIYDhYzFzIYMxM1GAAF4AABKUkVAA0FAAAAAAAAAAA"
############################################################
# Send IR command for selecting next input source 2 times.
# From Bluetooth to Digital Audio
############################################################
logitech_z906_select_digital_audio_source:
alias: Send IR command for selecting next input source 2 times
sequence:
- service: broadlink.send
data:
host: !secret broadlink_kitchen_host
packet:
- "JgBQAAABK48ZDBczGA0XDhMSFg8WDhgOFw4UEBcOFw4XDhcyGA4WMxcOFw4VERYzFw4WDxcOFw4TNhcyGDIYDhYzFzIYMxM1GAAF4AABKUkVAA0FAAAAAAAAAAA"
- "JgBQAAABK48ZDBczGA0XDhMSFg8WDhgOFw4UEBcOFw4XDhcyGA4WMxcOFw4VERYzFw4WDxcOFw4TNhcyGDIYDhYzFzIYMxM1GAAF4AABKUkVAA0FAAAAAAAAAAA"
############################################################
# Send IR command for selecting next input source 4 times.
# From Digital Audio to Bluetooth
############################################################
logitech_z906_select_bluetooth_source:
alias: Send IR command for selecting next input source 4 times
sequence:
- service: broadlink.send
data:
host: !secret broadlink_kitchen_host
packet:
- "JgBQAAABK48ZDBczGA0XDhMSFg8WDhgOFw4UEBcOFw4XDhcyGA4WMxcOFw4VERYzFw4WDxcOFw4TNhcyGDIYDhYzFzIYMxM1GAAF4AABKUkVAA0FAAAAAAAAAAA"
- "JgBQAAABK48ZDBczGA0XDhMSFg8WDhgOFw4UEBcOFw4XDhcyGA4WMxcOFw4VERYzFw4WDxcOFw4TNhcyGDIYDhYzFzIYMxM1GAAF4AABKUkVAA0FAAAAAAAAAAA"
- "JgBQAAABK48ZDBczGA0XDhMSFg8WDhgOFw4UEBcOFw4XDhcyGA4WMxcOFw4VERYzFw4WDxcOFw4TNhcyGDIYDhYzFzIYMxM1GAAF4AABKUkVAA0FAAAAAAAAAAA"
- "JgBQAAABK48ZDBczGA0XDhMSFg8WDhgOFw4UEBcOFw4XDhcyGA4WMxcOFw4VERYzFw4WDxcOFw4TNhcyGDIYDhYzFzIYMxM1GAAF4AABKUkVAA0FAAAAAAAAAAA"
############################################################
# Turn off all lights in flat
############################################################
lights_turn_off:
alias: Turn off all lights in flat
sequence:
- service: switch.turn_off
entity_id: switch.hall_switch
- service: switch.turn_off
entity_id: switch.restroom_switch
- service: switch.turn_off
entity_id: switch.bathroom_switch
- service: switch.turn_off
entity_id: switch.guestroom_left_switch
- service: switch.turn_off
entity_id: switch.guestroom_right_switch
- service: switch.turn_off
entity_id: switch.diningroom_switch
- service: switch.turn_off
entity_id: switch.kitchen_switch
- service: switch.turn_off
entity_id: switch.bedroom_switch
- service: switch.turn_off
entity_id: switch.childrensroom_switch