-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathp2000map.yaml
More file actions
70 lines (69 loc) · 1.7 KB
/
p2000map.yaml
File metadata and controls
70 lines (69 loc) · 1.7 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
type: custom:button-card
variables:
mapcardversion: 1.1.3
template:
- variable_template
- body_template
styles:
grid:
- grid-template-areas: |
"title title"
"message message"
- grid-template-rows: min-content auto
card:
- background: black
- background-size: cover
custom_fields:
message:
- font-size: "[[[ return variables.var_font_size ]]]"
- align-self: center
- justify-self: center
- width: 100%
- height: 100%
- position: relative
- display: flex
- flex-direction: column
- justify-content: center
- text-align: center
- transform: scale(130%)
- padding: 0px
custom_fields:
title:
card:
type: custom:button-card
icon: mdi:clock
name: "[[[ return variables.var_current_time ]]]"
tap_action:
action: navigate
navigation_path: p2000
hold_action:
action: navigate
navigation_path: 112
styles:
card:
- background-color: transparent
- border-width: 0px
- width: auto
- padding: 5px
grid:
- grid-template-areas: "\"i n\""
- grid-template-rows: min-content min-content
- grid-template-columns: 90px auto
name:
- font-size: 6vh
- font-weight: bold
- color: white
- text-shadow: 2px 2px black
icon:
- filter: drop-shadow(2px 2px 2px black)
- width: 10vh
- color: white
message:
card:
type: map
entities:
- entity: sensor.p2000_rijnmond_gecorrigeerd
icon: mdi:fire-truck
default_zoom: 12
aspect_ratio: "18:9"
theme_mode: light