forked from benmac7/Home-Assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweather.yaml
87 lines (87 loc) · 3.31 KB
/
weather.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
- title: "Weather"
icon: mdi:home-lightning-bolt-outline
path: weather
cards:
- type: custom:stack-in-card
mode: vertical
keep:
box_shadow: true
margin: true
border_radius: true
background: true
outer_padding: true
style: |
ha-card {
background-image: linear-gradient(0deg, rgba(39,123,161,1) 0%, rgba(157,136,173,1) 100%);
border-radius: var(--border-radius);
}
cards:
- type: "custom:layout-card"
layout_type: grid
layout:
grid-template-columns: 24% 76%
margin: 0px 0px 0px 0px
cards:
- type: custom:stack-in-card
mode: vertical
keep:
box_shadow: false
margin: false
border_radius: true
background: false
outer_padding: false
style: |
ha-card {
background-color: rgba(var(--color-grey-bg),1.0);
border-radius: var(--border-radius-bar);
box-shadow: none;
}
cards:
- type: horizontal-stack
cards:
- type: 'custom:button-card'
template: chip_back
variables:
ulm_chip_back_path: /ui-lovelace-minimalist/home
- type: 'custom:button-card'
template: chip_navigate
variables:
ulm_chip_navigate_path: /ui-lovelace-minimalist/home
ulm_chip_navigate_icon: mdi:home
- type: custom:stack-in-card
mode: vertical
keep:
box_shadow: false
margin: false
border_radius: true
background: false
outer_padding: false
style: |
ha-card {
background-color: rgba(var(--color-grey-bg),1.0);
border-radius: var(--border-radius-bar);
box-shadow: none;
}
cards:
- type: horizontal-stack
cards:
- type: "custom:button-card"
template: chip_mdi_icon_state_nb
variables:
ulm_chip_mdi_icon_state_entity: sensor.power_kw
ulm_chip_mdi_icon_state_icon: mdi:lightning-bolt
- type: "custom:button-card"
template: chip_mdi_icon_state_nb_nu
variables:
ulm_chip_mdi_icon_state_entity: sensor.electricity_cost_today
ulm_chip_mdi_icon_state_icon: mdi:currency-usd
- type: "custom:button-card"
entity: "sensor.dark_sky_summary"
template:
- "card_title_icon"
name: "Weather"
variables:
ulm_card_navigate_title: Weather
# ulm_card_navigate_icon: mdi:home-lightning-bolt-outline
icon_color: grey
background_color: grey-bg