-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path01-home.yaml
207 lines (192 loc) · 5.08 KB
/
01-home.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
title: Home
path: home
type: custom:grid-layout
layout:
grid-template-areas: |
"welcome people"
"welcome people"
"rooms rooms"
mediaquery:
'(max-width: 768px)':
grid-template-areas: |
"welcome"
"people"
"rooms"
cards:
#################
# STATUS CHIPS
#################
- type: custom:toolbar-status-chips
#################
# WELCOME
#################
- type: custom:button-card
template: card_welcome
view_layout:
grid-area: welcome
#################
# PEOPLE
#################
- type: vertical-stack
view_layout:
grid-area: people
cards:
- type: custom:button-card
template: card_family
variables:
person: poat
- type: custom:button-card
template: card_family
variables:
person: gina
#############
# ROOM CARDS
#############
- type: custom:layout-card
layout_type: custom:grid-layout
layout:
# desktop screen
grid-template-columns: repeat(6, 1fr)
grid-template-rows: auto
grid-template-areas: |
"label label label label label label"
"living dining office kitchen bedroom bath"
"guest spare garage attic shed server"
mediaquery:
# portrait monitor
'only screen and (min-width: 769px) and (max-width: 1400px)':
grid-template-columns: repeat(4, 1fr)
grid-template-areas: |
"label label label label"
"living dining office kitchen "
"bedroom bath guest spare"
"garage attic shed server"
# Smartphones
'only screen and (max-width: 768px)':
grid-template-columns: 1fr 1fr
grid-template-areas: |
"label label"
"living dining"
"office kitchen"
"bedroom bath"
"guest spare"
"garage attic"
"shed server"
view_layout:
grid-area: rooms
cards:
- type: custom:button-card
template: card_title
name: Rooms
variables:
grid-area: label
#################
# LIVING ROOM
#################
- type: custom:room-summary-card
view_layout:
grid-area: living
area: living_room
entities:
- climate.living_room
#################
# DINING ROOM
#################
- type: custom:room-summary-card
view_layout:
grid-area: dining
area: dining_room
#################
# OFFICE
#################
- type: custom:room-summary-card
view_layout:
grid-area: office
area: office
entities:
- binary_sensor.poat_rgb_connectivity
#################
# KITCHEN
#################
- type: custom:room-summary-card
view_layout:
grid-area: kitchen
area: kitchen
entities:
- switch.under_cabinet_lights
- light.dinette_light
#################
# MASTER BEDROOM
#################
- type: custom:room-summary-card
view_layout:
grid-area: bedroom
area: master_bedroom
#################
# MASTER BATHROOM
#################
- type: custom:room-summary-card
view_layout:
grid-area: bath
area: master_bath
entities:
- switch.master_bath_shower_light
#################
# GUEST ROOM
#################
- type: custom:room-summary-card
view_layout:
grid-area: guest
area: guest_bedroom
#################
# GUEST BATHROOM
#################
- type: custom:room-summary-card
view_layout:
grid-area: spare
area: guest_bath
#################
# GARAGE
#################
- type: custom:room-summary-card
view_layout:
grid-area: garage
area: garage
entities:
- entity_id: binary_sensor.garage_door_tilt_window_door_is_open
tap_action:
action: call-service
service: switch.toggle
service_data:
entity_id: switch.garage_opener
- switch.garage_opener_plug
- input_boolean.washing_machine_on
- input_boolean.dryer_on
#################
# ATTIC
#################
- type: custom:room-summary-card
view_layout:
grid-area: attic
area: attic
entities:
- switch.water_softener_plug
#################
# SHED
#################
- type: custom:room-summary-card
view_layout:
grid-area: shed
area: shed
entities:
- binary_sensor.shed_door_sensor_window_door_is_open
#################
# SERVER CLOSET
#################
- type: custom:room-summary-card
view_layout:
grid-area: server
area: server_closet
humidity_sensor: sensor.office_climate_humidity
temperature_sensor: sensor.office_climate_air_temperature
navigate: lab