-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathF1.yaml
More file actions
91 lines (91 loc) · 2.21 KB
/
F1.yaml
File metadata and controls
91 lines (91 loc) · 2.21 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
type: custom:button-card
variables:
vehicleversion: 1.0.2
F1_entity: sensor.f1_nieuws
template:
- variable_template
- body_template
name: Hoofdkaart Titel
styles:
grid:
- grid-template-areas: |
"title status"
"message message"
"vehicle vehicle"
- grid-template-rows: min-content 2fr min-content
- grid-template-columns: 1fr 1fr
custom_fields:
title:
- align-self: start
- justify-self: start
- padding: 1px
- text-shadow: 1px 1px black
- font-weight: bold
vehicle:
- align-self: center
- font-weight: bold
- width: 90%
- height: 155%
- text-shadow: 1px 1px black
- justify-self: center
- transform: scale(75%)
message:
- font-size: 22px
- font-weight: bold
- text-shadow: 1px 1px black
- position: relative
- padding: 10px
- border-radius: 10px
- height: 250%
- width: 95%
- text-align: center
- text-wrap: wrap
- justify-content: center
- align-self: center
- padding: 2%
- z-index: 1
custom_fields:
title:
card:
type: custom:button-card
icon: mdi:clock
name: null
tap_action:
action: navigate
navigation_path: clock
hold_action:
action: navigate
navigation_path: floorplan
styles:
card:
- background-color: transparent
- text-shadow: 1px 1px black
- border-width: 0px
- padding: 0px
grid:
- grid-template-areas: "\"i n\""
- grid-template-columns: min-content min-content
name:
- font-size: 6vh
- font-weight: bold
- color: white
icon:
- filter: drop-shadow(2px 2px 2px black)
- width: 10vh
- color: white
vehicle:
card:
type: custom:formulaone-card
card_type: next_race
show_raceinfo: true
actions:
tap_action:
action: navigate
navigation_path: clock
show_weather: true
weather_options:
color: white
unit: metric
api_key:
- FCVVGQCF55UR3CZ6EBLVVM7U4
message: "[[[ return states[variables.F1_entity].state; ]]]"