-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathtablet.yaml
More file actions
205 lines (194 loc) Β· 15.5 KB
/
tablet.yaml
File metadata and controls
205 lines (194 loc) Β· 15.5 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
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
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Description:
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Dashboard designed for viewing on tablet and optimized for 1280x800 screen
# resolutions. Appearance may be different on other screen resolutions.
#
# The main dashboard is designed with a custom header (default header is hidden
# using kiosk mode) and three columns.
#
# Custom popup dialog boxes are used to display information and control various
# smart home devices.
#
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Custom components required:
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Kiosk-mode: https://github.com/maykar/kiosk-mode
# Browser-mod: https://github.com/thomasloven/hass-browser_mod
#
# Additional custom cards are used for some of the cards included below
################################################################################
### Kiosk mode - hide default HA header ###
################################################################################
kiosk_mode:
hide_header: true
################################################################################
### Custom button card styling templates ###
################################################################################
button_card_templates: !include include/cards/button_card_templates.yaml
views:
##############################################################################
### FRONT PAGE VIEW ###
##############################################################################
- icon: mdi:home
title: Home
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Render dashboard in full-width. See more in HA documentation:
# https://www.home-assistant.io/lovelace/dashboards-and-views#panel
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
panel: true
############################################################################
### Popup card configuration for browser_mod custom component ###
############################################################################
popup_cards:
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Weather forcast - next 48 hours
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
weather.hjem:
title: Weather forecast for the next 48 hours
large: true
card: !include include/cards/local_weather_popup.yaml
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Garbage collection dates
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
calendar.garbage_collection:
title: Garbage collection
card: !include include/cards/garbage_collection.yaml
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Today's recipe and weekly food plan
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
sensor.madplan_dagensret:
title: Today's recipe
large: true
card:
type: iframe
url: !secret madplan_dagensret_url
dummy.madplan:
title: Madplan
large: true
card:
type: iframe
url: !secret madplan_ugeplan_url
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Shopping list
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
sensor.our_groceries:
title: Shopping list
large: true
card: !include include/cards/shopping_list.yaml
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# TODO list
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
dummy.TODO:
title: Tasks
large: true
card:
type: shopping-list
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Last motion and door open events
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
sensor.last_door_sensor:
title: Recent events
large: true
card: !include include/cards/event_log.yaml
sensor.last_motion_sensor:
title: Recent motion
large: true
card: !include include/cards/event_log.yaml
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Home state selection
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
input_select.home_state:
title: Select home state
large: true
card: !include include/cards/home_state_selection.yaml
cards:
- type: vertical-stack
cards:
######################################################################
### Header row ###
######################################################################
- type: horizontal-stack
cards:
- !include include/cards/tablet_header.yaml
######################################################################
### Main content - 3 columns ###
######################################################################
- type: horizontal-stack
cards:
##################################################################
### Column #1 ###
##################################################################
- type: vertical-stack
cards:
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Today's receipe
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- !include include/cards/todays_recipe.yaml
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Choose between calendar, shopping list, TODO list or
# garbage collection information
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- !include include/cards/info_select.yaml
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Custom calendar card
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- !include include/cards/calendar_week.yaml
##################################################################
#### Column #2 ###
##################################################################
- type: vertical-stack
cards:
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Light scene selection
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- !include include/cards/light_scene_selection.yaml
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Mini media player
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- !include include/cards/media_player_kitchen.yaml
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# IP camera feed
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- !include include/cards/camera_feed01.yaml
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Status
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- !include include/cards/home_status_events.yaml
##################################################################
#### Column #3 ###
##################################################################
- type: vertical-stack
cards:
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Weather forecast from Met.no integration
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- type: weather-forecast
entity: weather.hjem
name: Weather forecast
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Current weather data from Netatmo Weather Station and
# indoor temperature sensors
#βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- !include include/cards/local_weather.yaml
##############################################################################
### 01 VW INFO VIEW ###
##############################################################################
- !include include/views/vw_info.yaml
##############################################################################
### 02 VACUUM CONTROL VIEW ###
##############################################################################
- !include include/views/vacuum_control.yaml
##############################################################################
### 03 FLOORPLAN VIEW ###
##############################################################################
- !include include/views/floorplan.yaml
##############################################################################
### 04 MUSIC VIEW ###
##############################################################################
- !include include/views/music2.yaml
##############################################################################
### 05 CUSTOM ENERGY DASHBOARD ###
##############################################################################
- !include include/views/energy.yaml
title: " "