-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdashboard-complete.yaml
More file actions
164 lines (135 loc) · 5.49 KB
/
Copy pathdashboard-complete.yaml
File metadata and controls
164 lines (135 loc) · 5.49 KB
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
162
163
164
views:
- title: Brewfather
sections:
- type: grid
cards:
- type: vertical-stack
cards:
- type: vertical-stack
cards:
- type: markdown
content: >
## 📊 Fermentation Progress
---
🗓️ **Started:** {{
as_timestamp(states('sensor.brewfather_fermentation_start'))
| timestamp_custom('%d %b %Y at %H:%M', true) }}
🌡️ **Current Step:** {{
states('sensor.brewfather_target_temperature') }}°C
⏭️ **Next Step:** {{
states('sensor.brewfather_upcoming_target_temperature')
}}°C @ {{
as_timestamp(states('sensor.brewfather_upcoming_target_temperature_change'))
| timestamp_custom('%d %b %H:%M', true) }}
---
- type: horizontal-stack
cards:
- type: gauge
entity: climate.fermentation_chamber
name: Fermentation Chamber
min: 0
max: 30
severity:
green: 18
yellow: 15
red: 0
needle: true
attribute: current_temperature
- type: gauge
entity: sensor.brewfather_target_temperature
name: Target Temp
min: 0
max: 30
severity:
green: 0
yellow: 25
red: 28
needle: true
- type: history-graph
title: 📈 Fermentation History
hours_to_show: 168
refresh_interval: 0
entities:
- entity: sensor.inkbird_gemeten_temperatuur
name: Actual Temperature
- entity: sensor.brewfather_target_temperature
name: Target Temperature
logarithmic_scale: false
fit_y_data: false
- type: markdown
title: 📝 Batch Notes
content: >
{{ states('sensor.brewfather_batch_notes') | replace('\n', '
\n') if states('sensor.brewfather_batch_notes') !=
'unavailable' and states('sensor.brewfather_batch_notes') !=
'unknown' else '*No batch notes available*' }}
- type: grid
cards:
- type: vertical-stack
cards:
- type: calendar
title: 📅 Upcoming Brew Events
entities:
- calendar.brewfather_events
initial_view: listWeek
- type: markdown
title: ⏰ Next Events
content: >
{% set events = state_attr('sensor.brewfather_events',
'events') %}
{% if events and events | length > 0 %}
{% for event in events[:3] %}
**{{ as_timestamp(event.time) | timestamp_custom('%a %d %b,
%H:%M', true) }}**
{{ event.title }}
*{{ event.description }}*
---
{% endfor %}
{% if events | length > 3 %}
*...and {{ events | length - 3 }} more events*
{% endif %}
{% else %}
*No upcoming events scheduled*
{% endif %}
- type: entities
title: ⚙️ Quick Actions
show_header_toggle: false
entities:
- type: button
name: Sync Temperature Now
icon: mdi:sync
tap_action:
action: call-service
service: automation.trigger
service_data:
entity_id: automation.brewfather_sync_fermentation_temperature
- entity: sensor.brewfather_integration_status
name: Integration Status
icon: mdi:api
secondary_info: last-changed
- type: markdown
content: >
<ha-alert alert-type="{% if
states('sensor.brewfather_target_temperature') ==
states.climate.fermentation_chamber.attributes.temperature
| string %}success{% else %}warning{% endif %}">
{% if states('sensor.brewfather_target_temperature') ==
states.climate.fermentation_chamber.attributes.temperature
| string %}
✅ **Temperature Synced** - Chamber is set to the correct
temperature
{% else %}
⚠️ **Temperature Mismatch** - Target: {{
states('sensor.brewfather_target_temperature') }}°C | Chamber:
{{ states.climate.fermentation_chamber }}°C
{% endif %}
</ha-alert>
header:
card:
type: markdown
content: |
# 🍺 Current Batch: **{{states('sensor.brewfather_recipe_name')}}**
text_only: true
type: sections
max_columns: 2
cards: []