-
Notifications
You must be signed in to change notification settings - Fork 2
/
top_navigation_buttons.yaml
111 lines (111 loc) · 3.16 KB
/
top_navigation_buttons.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
type: horizontal-stack
cards:
- type: custom:mushroom-template-card
primary: ''
secondary: ''
icon: |-
{% if states('sensor.power_p1_netto_daily_kwh') | float < 0 %}
mdi:transmission-tower-import
{% elif states('sensor.power_p1_netto_daily_kwh') | float > 0 %}
mdi:transmission-tower-export
{% else %}
mdi:transmission-tower-export
{% endif %}
icon_color: |-
{% if states('sensor.power_p1_netto_daily_kwh') | float < 0 %}
green
{% elif states('sensor.power_p1_netto_daily_kwh') | float > 0 %}
red
{% else %}
grey
{% endif %}
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-subviews/energy
- type: custom:mushroom-template-card
primary: ''
secondary: ''
icon: |-
{% if states('sensor.woonkamer_motion_hue_temperature') | float < 0 %}
mdi:temperature-celsius
{% elif states('sensor.woonkamer_motion_hue_temperature') | float > 0 %}
mdi:temperature-celsius
{% else %}
mdi:temperature-celsius
{% endif %}
icon_color: |-
{% if states('sensor.woonkamer_motion_hue_temperature') | float < 10 %}
blue
{% elif states('sensor.woonkamer_motion_hue_temperature') | float > 20 %}
red
{% else %}
orange
{% endif %}
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-subviews/verwarming
- type: custom:mushroom-template-card
primary: ''
secondary: ''
icon: mdi:speaker
icon_color: teal
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-subviews/multimedia
card_mod:
style: |
ha-state-icon {
animation: beat 1.3s ease-out infinite both;
transform-origin: 50% 60%;
}
@keyframes beat {
0% { transform: scale(1); }
10% { transform: scale(1.1); }
17% { transform: scale(1.05); }
33% { transform: scale(1.25); }
60% { transform: scale(1); }
}
- type: custom:mushroom-template-card
primary: ''
secondary: ''
icon: |-
{% if states('switch.shellyplugs_3dprinter_e3pro', 'on') %}
mdi:printer-3d-nozzle
{% elif states('switch.shellyplugs_3dprinter_e3pro', 'off') %}
mdi:printer-3d-nozzle
{% else %}
mdi:printer-3d-nozzle
{% endif %}
icon_color: |-
{% if states('switch.shellyplugs_3dprinter_e3pro', 'off') %}
grey
{% elif states('switch.shellyplugs_3dprinter_e3pro', 'on') %}
green
{% else %}
red
{% endif %}
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-subviews/3dprinter
- type: custom:mushroom-template-card
primary: ''
secondary: ''
icon: mdi:server
icon_color: green
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-subviews/servers
- type: custom:mushroom-template-card
primary: ''
secondary: ''
icon: mdi:window-shutter-settings
icon_color: white
layout: vertical
tap_action:
action: navigate
navigation_path: /dashboard-subviews/screens