forked from kmakar89/Home-Assistant---Control4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfiguration.yaml
More file actions
146 lines (141 loc) · 3.11 KB
/
configuration.yaml
File metadata and controls
146 lines (141 loc) · 3.11 KB
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
# Service
c4_services:
input_select:
garage_radio_stations:
name: Radio Station
icon: mdi:radio
options:
- 94.9
- 99.5
- 103.5
- 105.5
- 106.3
- 107.3
garage_c4_input:
name: Audio Input
options:
- Tuner
- Volumio
- Bluetooth
garage_amp_input:
name: Zone Input
options:
- 1
- 3
- 4
gr_radio_stations:
name: Radio Station
icon: mdi:radio
options:
- 94.9
- 99.5
- 103.5
- 105.5
- 106.3
- 107.3
gr_c4_input:
name: Audio Input
options:
- Tuner
- Volumio
- Bluetooth
gr_amp_input:
name: Zone Input
options:
- 2
- 3
- 4
lanai_radio_stations:
name: Radio Station
icon: mdi:radio
options:
- 94.9
- 99.5
- 103.5
- 105.5
- 106.3
- 107.3
lanai_c4_input:
name: Audio Input
options:
- Tuner
- Volumio
- Bluetooth
lanai_amp_input:
name: Zone Input
options:
- 2
- 3
- 4
input_number:
garage_amp_volume:
name: Volume
min: 0
max: 1
step: .01
initial: .04
gr_amp_volume:
name: Volume
min: 0
max: 1
step: .01
initial: .04
lanai_amp_volume:
name: Volume
min: 0
max: 1
step: .01
initial: .04
input_boolean:
switch_state_1:
name: Garage Switch
switch_state_2:
name: Great Room Switch
switch_state_3:
name: Lanai Switch
switch:
- platform: template
switches:
garage_switch:
friendly_name: Garage
value_template: "{{ is_state('input_boolean.switch_state_1', 'on') }}"
turn_on:
- service: c4_services.handle_garage_amp_on_select
- service: input_boolean.turn_on
data:
entity_id: input_boolean.switch_state_1
turn_off:
- service: c4_services.handle_garage_amp_off_select
- service: input_boolean.turn_off
data:
entity_id: input_boolean.switch_state_1
- platform: template
switches:
gr_switch:
friendly_name: Great Room
value_template: "{{ is_state('input_boolean.switch_state_2', 'on') }}"
turn_on:
- service: c4_services.handle_gr_amp_on_select
- service: input_boolean.turn_on
data:
entity_id: input_boolean.switch_state_2
turn_off:
- service: c4_services.handle_gr_amp_off_select
- service: input_boolean.turn_off
data:
entity_id: input_boolean.switch_state_2
- platform: template
switches:
lanai_switch:
friendly_name: Lanai
value_template: "{{ is_state('input_boolean.switch_state_3', 'on') }}"
turn_on:
- service: c4_services.handle_lanai_amp_on_select
- service: input_boolean.turn_on
data:
entity_id: input_boolean.switch_state_3
turn_off:
- service: c4_services.handle_lanai_amp_off_select
- service: input_boolean.turn_off
data:
entity_id: input_boolean.switch_state_3