|
|
@@ -1,5 +1,11 @@
|
|
1
|
1
|
title: Tannenhof
|
|
2
|
2
|
|
|
|
3
|
+resources:
|
|
|
4
|
+ - url: /local/circle-sensor-card.js?v=0
|
|
|
5
|
+ type: module
|
|
|
6
|
+ - url: /local/surveillance-card.js?v=0
|
|
|
7
|
+ type: module
|
|
|
8
|
+
|
|
3
|
9
|
views:
|
|
4
|
10
|
# View tab title.
|
|
5
|
11
|
- title: Home
|
|
|
@@ -27,34 +33,21 @@ views:
|
|
27
|
33
|
# The markdown card will render markdown text.
|
|
28
|
34
|
- type: horizontal-stack
|
|
29
|
35
|
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
|
|
|
36
|
+ - type: history-graph
|
|
|
37
|
+ title: 'My Graph'
|
|
|
38
|
+ entities:
|
|
|
39
|
+ - device_tracker.josh
|
|
|
40
|
+ - device_tracker.david
|
|
|
41
|
+ - device_tracker.margit
|
|
|
42
|
+ - device_tracker.meinrad
|
|
|
43
|
+ - type: entity-filter
|
|
|
44
|
+ entities:
|
|
|
45
|
+ - device_tracker.josh
|
|
|
46
|
+ - device_tracker.david
|
|
|
47
|
+ - device_tracker.margit
|
|
|
48
|
+ - device_tracker.meinrad
|
|
|
49
|
+ state_filter:
|
|
|
50
|
+ - "home"
|
|
58
|
51
|
- type: horizontal-stack
|
|
59
|
52
|
cards:
|
|
60
|
53
|
- type: light
|
|
|
@@ -66,6 +59,16 @@ views:
|
|
66
|
59
|
name: Temperature
|
|
67
|
60
|
height: 75
|
|
68
|
61
|
line_color: "#3498db"
|
|
|
62
|
+ - type: horizontal-stack
|
|
|
63
|
+ cards:
|
|
|
64
|
+ - type: sensor
|
|
|
65
|
+ entity: sensor.netdata_cpu
|
|
|
66
|
+ name: Server CPU
|
|
|
67
|
+ height: 75
|
|
|
68
|
+ line_color: "#B90000"
|
|
|
69
|
+ - type: gauge
|
|
|
70
|
+ title: Server CPU
|
|
|
71
|
+ entity: sensor.netdata_cpu
|
|
69
|
72
|
- type: conditional
|
|
70
|
73
|
conditions:
|
|
71
|
74
|
- entity: light.bed_light
|
|
|
@@ -94,13 +97,30 @@ views:
|
|
94
|
97
|
# Each view can have a different theme applied. Theme should be defined in the frontend.
|
|
95
|
98
|
theme: dark-mode
|
|
96
|
99
|
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%
|
|
|
100
|
+ - type: iframe
|
|
|
101
|
+ 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
|
|
|
102
|
+ aspect_ratio: 100%
|
|
|
103
|
+ - type: iframe
|
|
|
104
|
+ url: https://earth.nullschool.net/#current/wind/surface/level/equirectangular=-354.86,46.31,1647/loc=9.198,47.673
|
|
|
105
|
+
|
|
|
106
|
+ - title: Automations
|
|
|
107
|
+ id: automations
|
|
|
108
|
+ # Optional background (overwrites the global background).
|
|
|
109
|
+ background: radial-gradient(crimson, skyblue)
|
|
|
110
|
+ # Each view can have a different theme applied. Theme should be defined in the frontend.
|
|
|
111
|
+ theme: dark-mode
|
|
|
112
|
+ cards:
|
|
|
113
|
+ - type: entities
|
|
|
114
|
+ title: Automations
|
|
|
115
|
+ entities:
|
|
|
116
|
+ - automation.enable_subwoofer_if_desktop_plays_music_from_spotify
|
|
|
117
|
+ - automation.hass_startup_notification
|
|
|
118
|
+ - automation.notify_about_phone_state
|
|
|
119
|
+ - automation.send_notification_if_margit_gets_home
|
|
|
120
|
+ - automation.turn_off_light_10_minutes_after_last_movement
|
|
|
121
|
+ - automation.turn_off_subwoofer_when_pc_is_off
|
|
|
122
|
+ - automation.turn_on_light_when_there_is_movement
|
|
|
123
|
+ - automation.update_available_notifications
|
|
|
124
|
+ - automation.welcome_josh_if_he_gets_home
|
|
105
|
125
|
|
|
106
|
126
|
|