-
Notifications
You must be signed in to change notification settings - Fork 33
/
dashboard_view.yaml
86 lines (86 loc) · 2.41 KB
/
dashboard_view.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
title: Dashboard
path: dashboard
icon: mdi:home-assistant
panel: true
cards:
- type: custom:layout-card
layout: vertical
column_width: 350
max_width: [200px,100%]
rtl: true
cards:
- type: custom:layout-card
column_width: 200
max_width: 300
cards:
- !include
- /config/lovelace/functions/car.yaml
- car: peugeot
- !include
- /config/lovelace/functions/car.yaml
- car: golf
- break
- type: custom:layout-card
column_width: 350
max_width: 960
layout: vertical
cards:
- type: markdown
style: |
ha-card {
padding-top: 24px;
}
h1 {
text-align: center;
font-size: 6em;
margin-bottom: 0;
}
h2 {
text-align: center;
}
content: |
# {{ states("sensor.time") }}
## {{ states("sensor.date") }} V.{{ states("sensor.week") }}
- type: custom:weather-card
entity: weather.smhi_home
icons: /local/weather_icons/
- break
- type: horizontal-stack
cards:
- !include
- /config/lovelace/functions/presence.yaml
- person: thomas
- !include
- /config/lovelace/functions/presence.yaml
- person: anneli
- type: horizontal-stack
cards:
- type: entity-button
entity: light.ytterbelysning
tap_action:
action: toggle
- type: entity-button
entity: light.fasadbelysning
tap_action:
action: toggle
- type: entity-button
entity: light.taklampor
name: Lampor inne
- type: horizontal-stack
cards:
- type: entity-button
entity: vacuum.xiaomi_vacuum_cleaner
name: Dammsugare
tap_action: !include
- /config/lovelace/functions/popup.yaml
- title: Dammsugare
card: /config/lovelace/popups/vacuum.yaml
- type: entity-button
entity: binary_sensor.sopor
- type: entity-button
entity: binary_sensor.door_open
name: Öppen dörr
tap_action: !include
- /config/lovelace/functions/popup.yaml
- title: Öppna dörrar
card: /config/lovelace/popups/doors.yaml