-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlovelace.yaml
161 lines (152 loc) · 2.99 KB
/
lovelace.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
##Outside AQI Index
type: custom:mini-graph-card
entities:
- entity: sensor.outside_pm_1_0um
index: 0
name: Outside PM <1.0µm
- entity: sensor.outside_pm_2_5um
index: 1
name: Outside PM <2.5µm
show_state: true
- entity: sensor.outside_pm_10_0um
index: 2
name: Outside PM <10.0µm
show_state: false
y_axis: secondary
font_size: 105
hour24: true
hours_to_show: 168
icon: mdi:thought-bubble-outline
line_color:
- '#FF5733'
- '#C70039 '
- '#33FFBD'
line_width: 3
name: Outside AQI Index
show:
extrema: true
average: true
group_by: date
style: |
ha-card {
height: 220px !important;
}
## Lounge Temp & Humidity
type: custom:mini-graph-card
entities:
- entity: sensor.living_room_temperature
index: 0
name: Temp
- entity: sensor.living_room_humidity
index: 1
name: Humidity
show_state: true
y_axis: secondary
font_size: 105
hour24: true
hours_to_show: 168
icon: mdi:sprout-outline
line_color:
- Green
- Orange
line_width: 3
name: Lounge Temp & Humidity
show:
extrema: true
average: true
style: |
ha-card {
height: 220px !important;
}
## Elec/Gas
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
entities:
- entity: sensor.glow84f3ebbe4d6d_energy_consumption
line_color: green
name: Total Elec
line_width: 4
font_size: 80
- type: custom:mini-graph-card
entities:
- entity: sensor.glow84f3ebbe4d6d_power_consumption
line_color: orange
line_width: 4
name: Current
font_size: 80
- type: custom:mini-graph-card
entities:
- entity: sensor.gas_consumption_today
line_color: red
name: Total Gas
line_width: 4
font_size: 80
## Indoor AQI
type: custom:mini-graph-card
entities:
- entity: sensor.boys_pm2_5_sensor
index: 0
name: Boys
- entity: sensor.pm2_5_sensor_in_lounge
index: 1
name: Lounge
- entity: sensor.pm2_5_sensor_in_kitchen
index: 2
name: Kitchen
show_state: true
y_axis: secondary
font_size: 105
hour24: true
hours_to_show: 24
icon: mdi:thought-bubble
line_color:
- orange
- blue
- green
line_width: 3
name: Indoor AQI Index
show:
extrema: true
average: true
style: |
ha-card {
height: 220px !important;
}
## Outside Temp and Humidity
type: custom:mini-graph-card
name: Outside Temperature
name_adaptive_color: true
icon_adaptive_color: true
animate: true
height: 175
line_width: 6
lower_bound: 2
upper_bound: ~32
entities:
- entity: sensor.outside_temperature
name: Row1
color_thresholds:
- value: 2
color: '#0000ff'
- value: 8
color: '#00ffff'
- value: 12
color: '#00ff00'
- value: 14
color: '#77ff00'
- value: 16
color: '#afff00'
- value: 20
color: '#ffff00'
- value: 24
color: '#ffaa00'
- value: 28
color: '#ff6600'
- value: 30
color: '#ff3300'
- value: 32
color: '#ff0000'
points_per_hour: 1