|
|
@@ -2,9 +2,9 @@ title: Tannenhof
|
|
2
|
2
|
|
|
3
|
3
|
views:
|
|
4
|
4
|
# View tab title.
|
|
5
|
|
- - title: Josh's Room
|
|
|
5
|
+ - title: Home
|
|
6
|
6
|
# Optional unique id for direct access /lovelace/${id}
|
|
7
|
|
- id: example
|
|
|
7
|
+ id: home
|
|
8
|
8
|
# Optional background (overwrites the global background).
|
|
9
|
9
|
background: radial-gradient(crimson, skyblue)
|
|
10
|
10
|
# Each view can have a different theme applied. Theme should be defined in the frontend.
|
|
|
@@ -21,31 +21,86 @@ views:
|
|
21
|
21
|
- sensor.dht_sensor_humidity
|
|
22
|
22
|
- group.lights
|
|
23
|
23
|
- cover.blinds
|
|
|
24
|
+ - type: section
|
|
|
25
|
+ label: Music
|
|
24
|
26
|
- media_player.spotify
|
|
25
|
|
- - device_tracker.david
|
|
26
|
|
- - device_tracker.david
|
|
27
|
27
|
# The markdown card will render markdown text.
|
|
28
|
|
- - type: light
|
|
29
|
|
- entity: light.led_strip
|
|
30
|
|
- - type: gauge
|
|
31
|
|
- title: Temperature
|
|
32
|
|
- entity: sensor.dht_sensor_temperature
|
|
33
|
|
- min: -20
|
|
34
|
|
- max: 35
|
|
|
28
|
+ - type: horizontal-stack
|
|
|
29
|
+ cards:
|
|
|
30
|
+ - type: conditional
|
|
|
31
|
+ conditions:
|
|
|
32
|
+ - entity: device_tracker.david
|
|
|
33
|
+ state: "home"
|
|
|
34
|
+ card:
|
|
|
35
|
+ type: entity-button
|
|
|
36
|
+ entity: device_tracker.david
|
|
|
37
|
+ - type: conditional
|
|
|
38
|
+ conditions:
|
|
|
39
|
+ - entity: device_tracker.josh
|
|
|
40
|
+ state: "home"
|
|
|
41
|
+ card:
|
|
|
42
|
+ type: entity-button
|
|
|
43
|
+ entity: device_tracker.josh
|
|
|
44
|
+ - type: conditional
|
|
|
45
|
+ conditions:
|
|
|
46
|
+ - entity: device_tracker.margit
|
|
|
47
|
+ state: "home"
|
|
|
48
|
+ card:
|
|
|
49
|
+ type: entity-button
|
|
|
50
|
+ entity: device_tracker.margit
|
|
|
51
|
+ - type: conditional
|
|
|
52
|
+ conditions:
|
|
|
53
|
+ - entity: device_tracker.meinrad
|
|
|
54
|
+ state: "home"
|
|
|
55
|
+ card:
|
|
|
56
|
+ type: entity-button
|
|
|
57
|
+ entity: device_tracker.meinrad
|
|
|
58
|
+ - type: horizontal-stack
|
|
|
59
|
+ cards:
|
|
|
60
|
+ - type: light
|
|
|
61
|
+ entity: light.led_strip
|
|
|
62
|
+ - type: light
|
|
|
63
|
+ entity: light.room_light
|
|
35
|
64
|
- type: sensor
|
|
36
|
65
|
entity: sensor.dht_sensor_temperature
|
|
37
|
66
|
name: Temperature
|
|
38
|
67
|
height: 75
|
|
39
|
68
|
line_color: "#3498db"
|
|
40
|
|
- - type: gauge
|
|
41
|
|
- title: Printer Hotend
|
|
42
|
|
- entity: sensor.octoprint_actual_tool0_temp
|
|
43
|
|
- severity:
|
|
44
|
|
- red: 50
|
|
45
|
|
- green: 0
|
|
46
|
|
- amber: 40
|
|
47
|
|
- - type: iframe
|
|
48
|
|
- url: https://www.rainviewer.com/map.html
|
|
49
|
|
- aspect_ratio: 75%
|
|
|
69
|
+ - type: conditional
|
|
|
70
|
+ conditions:
|
|
|
71
|
+ - entity: light.bed_light
|
|
|
72
|
+ state: "on"
|
|
|
73
|
+ card:
|
|
|
74
|
+ type: horizontal-stack
|
|
|
75
|
+ cards:
|
|
|
76
|
+ - type: gauge
|
|
|
77
|
+ title: Printer Hotend
|
|
|
78
|
+ entity: sensor.octoprint_actual_tool0_temp
|
|
|
79
|
+ severity:
|
|
|
80
|
+ red: 50
|
|
|
81
|
+ green: 0
|
|
|
82
|
+ amber: 40
|
|
|
83
|
+ - type: gauge
|
|
|
84
|
+ title: Printer Hotend
|
|
|
85
|
+ entity: sensor.octoprint_actual_bed_temp
|
|
|
86
|
+ severity:
|
|
|
87
|
+ red: 50
|
|
|
88
|
+ green: 0
|
|
|
89
|
+ amber: 40
|
|
|
90
|
+ - title: Weather
|
|
|
91
|
+ id: weather
|
|
|
92
|
+ # Optional background (overwrites the global background).
|
|
|
93
|
+ background: radial-gradient(crimson, skyblue)
|
|
|
94
|
+ # Each view can have a different theme applied. Theme should be defined in the frontend.
|
|
|
95
|
+ theme: dark-mode
|
|
|
96
|
+ cards:
|
|
|
97
|
+ - type: horizontal-stack
|
|
|
98
|
+ cards:
|
|
|
99
|
+ - type: iframe
|
|
|
100
|
+ url: https://www.rainviewer.com/map.html?loc=47.6739,9.1983,10&oFa=0&oC=1&oU=0&oCS=1&oF=0&oAP=0&rmt=4&c=1&o=70&lm=1&th=1
|
|
|
101
|
+ aspect_ratio: 100%
|
|
|
102
|
+ - type: iframe
|
|
|
103
|
+ url: https://earth.nullschool.net/#current/wind/surface/level/equirectangular=-354.86,46.31,1647/loc=9.198,47.673
|
|
|
104
|
+ aspect_ratio: 100%
|
|
50
|
105
|
|
|
51
|
106
|
|