-
Notifications
You must be signed in to change notification settings - Fork 9
/
weather_greeting_small.yaml
114 lines (114 loc) · 3.96 KB
/
weather_greeting_small.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
type: horizontal-stack
cards:
- type: custom:layout-card
layout_type: grid
layout:
grid-template-columns: 25% 75%
cards:
- type: vertical-stack
style: |
ha-card {
box-shadow: none;
border-style: hidden;
border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px;
}
cards:
- type: custom:button-card
entity: sensor.dark_sky_icon
color_type: card
size: 50%
lock: false
show_name: false
show_state: false
show_label: false
show_icon: true
show_entity_picture: false
tap_action:
action: navigate
navigation_path: /ui-lovelace-minimalist/weather
haptic: success
aspect_ratio: 1/1
styles:
card:
- border-radius: 100%
- border-style: none
- padding: 0px
- box-shadow: "var(--box-shadow)"
- justify-self: center
- margin-top: 12px
state:
- value: "clear-day"
color: '#f0e373'
icon: "mdi:weather-sunny"
- value: "clear-night"
color: '#54416d'
icon: "mdi:weather-night"
- value: "rain"
color: '#416082'
icon: "mdi:weather-pouring"
- value: "snow"
color: '#FFFAFA'
icon: "mdi:weather-snowy-heavy"
- value: "sleet"
color: '#92949b'
icon: "mdi:weather-snowy-rainy"
- value: "wind"
color: '#A3BDDA'
icon: "mdi:weather-windy-variant"
- value: "fog"
color: '#F2F8F7'
icon: "mdi:weather-fog"
- value: "cloudy"
color: '#A3BDDA'
icon: "mdi:cloud"
- value: "partly-cloudy-day"
color: '#86b2bd'
icon: "mdi:weather-partly-cloudy"
- value: "partly-cloudy-night"
color: '#716876'
icon: "mdi:weather-night-partly-cloudy"
- type: vertical-stack
flex-grow: 2
style: |
ha-card {
box-shadow: none;
border-style: hidden;
border-bottom-right-radius: 0px;
border-bottom-left-radius: 0px;
}
cards:
- type: markdown
style:
.: |
ha-card {
background-color: rgba(0,0,0,0) !important;
box-shadow: none;
padding-top: 0px;
margin-top: 0px;
}
ha-markdown:
$: |
ha-markdown-element:first-of-type h2 {
background-color: rgba(0,0,0,0);
color: var(--primary-text-color);
font-size: 18px;
line-height: 18px;
}
ha-markdown-element:first-of-type h3 {
background-color: rgba(0,0,0,0);
font-weight: normal;
color: var(--secondary-text-color);
font-size: 14px;
line-height: 14px;
}
ha-markdown-element:second-of-type h3 {
background-color: rgba(0,0,0,0);
color: var(--secondary-text-color);
font-weight: normal;
font-size: 14px;
line-height: 14px;
}
content: |
## {{ states('input_select.frontend_greeting') }}, {{user}}
### Today will be {{ states('sensor.dark_sky_daytime_high_temperature_1d') }}°C <br/> {{ states('sensor.dark_sky_summary_1d') }}