-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHomeAssistant
159 lines (159 loc) · 4.97 KB
/
HomeAssistant
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
147
148
149
150
151
152
153
154
155
156
157
158
159
type: vertical-stack
cards:
- type: button
tap_action:
action: toggle
entity: input_boolean.tictacalc_locked
show_name: true
show_icon: true
icon: 'mdi:gamepad-variant'
icon_height: 50px
name: TicTacAlc
show_state: false
hold_action:
action: none
- type: conditional
conditions:
- entity: input_boolean.tictacalc_locked
state: 'on'
card:
type: vertical-stack
cards:
- type: markdown
content: '{{ states("input_text.tictacalc_text") }}'
title: Gewinner
- type: entities
entities:
- entity: input_number.tictacalc_rgb_1_r
name: Rot
- entity: input_number.tictacalc_rgb_1_g
name: Grün
- entity: input_number.tictacalc_rgb_1_b
name: Blau
title: Farbe Spieler 1
show_header_toggle: false
state_color: false
- type: entities
entities:
- entity: input_number.tictacalc_rgb_2_r
name: Rot
- entity: input_number.tictacalc_rgb_2_g
name: Grün
- entity: input_number.tictacalc_rgb_2_b
name: Blau
title: Farbe Spieler 2
show_header_toggle: false
state_color: false
- type: horizontal-stack
cards:
- type: button
entity: light.arduino_section_7
tap_action:
action: call-service
service: light.turn_on
service_data:
entity_id: light.arduino_section_7
hold_action:
action: none
show_name: false
show_state: false
- type: button
entity: light.arduino_section_8
tap_action:
action: call-service
service: light.turn_on
service_data:
entity_id: light.arduino_section_8
hold_action:
action: none
show_name: false
show_state: false
- type: button
entity: light.arduino_section_9
tap_action:
action: call-service
service: light.turn_on
service_data:
entity_id: light.arduino_section_9
hold_action:
action: none
show_name: false
show_state: false
- type: horizontal-stack
cards:
- type: button
entity: light.arduino_section_4
tap_action:
action: call-service
service: light.turn_on
service_data:
entity_id: light.arduino_section_4
hold_action:
action: none
show_name: false
show_state: false
- type: button
entity: light.arduino_section_5
tap_action:
action: call-service
service: light.turn_on
service_data:
entity_id: light.arduino_section_5
hold_action:
action: none
show_name: false
show_state: false
- type: button
entity: light.arduino_section_6
tap_action:
action: call-service
service: light.turn_on
service_data:
entity_id: light.arduino_section_6
hold_action:
action: none
show_name: false
show_state: false
- type: horizontal-stack
cards:
- type: button
entity: light.arduino_section_1
tap_action:
action: call-service
service: light.turn_on
service_data:
entity_id: light.arduino_section_1
hold_action:
action: none
show_name: false
show_state: false
- type: button
entity: light.arduino_section_2
tap_action:
action: call-service
service: light.turn_on
service_data:
entity_id: light.arduino_section_2
hold_action:
action: none
show_name: false
show_state: false
- type: button
entity: light.arduino_section_3
tap_action:
action: call-service
service: light.turn_on
service_data:
entity_id: light.arduino_section_3
hold_action:
action: none
show_name: false
show_state: false
- type: button
entity: input_boolean.tictacalc_clear
hold_action:
action: none
show_name: true
show_state: false
show_icon: false
name: Löschen