Noch keine Messstelle. Eine Messstelle ist ein Gerät mit Sollbereich, z. B. der Impfstoff-Kühlschrank mit +2 bis +8 °C.
{% if is_leitung %} Kühlschrank anlegen Bei vorhandenen Geräten: Gerät bearbeiten → „Temperaturüberwachung“ ausfüllen.{% endif %}
{% endif %}
{% for p in temp_points %}{% set r = temp_last.get(p.id) %}
{% if p.id in temp_bad_ids %}zuletzt außerhalb{% elif p.id in temp_missing_ids %}heute offen{% elif r %}ok{% endif %}
{{ p.location or '' }}{{ ' · ' if p.location }}Soll {{ p.temp_min|num }} bis {{ p.temp_max|num }} °C
{% if today_rows.get(p.id) %}
{% for t in today_rows[p.id] %}
{{ t.current|num }} °C{% if t.min_value is not none or t.max_value is not none %} (min {{ t.min_value|num if t.min_value is not none else '–' }} / max {{ t.max_value|num if t.max_value is not none else '–' }}){% endif %}
{{ t.ts.strftime('%H:%M') }} · {{ t.user.full_name if t.user else '–' }}{% if t.action %} · Maßnahme: {{ t.action }}{% endif %}{% if t.note %} · {{ t.note }}{% endif %}
{% endfor %}
{% elif r %}
Zuletzt {{ r.current|num }} °C am {{ r.ts.strftime('%d.%m. %H:%M') }}
{% endif %}
{% set back = '/temperatur' %}{% include 'temperatur/_form.html' %}