<h2>Aktuelle Werte</h2>
<div id="current">
<p id="currentair">
- <strong>Luft: {{ airvalue }}°C</strong><br />
- <small>({{ airtime }})</small>
+ {% if airvalue is none %}
+ <strong>Luft: N/A</strong>
+ {% else %}
+ <strong>Luft: {{ airvalue|round(1) }}°C</strong><br />
+ <small>({{ airtime.strftime('%Y-%m-%d %H:%M') }})</small>
+ {% endif %}
</p>
<p id="currentwater">
<strong>Wasser: {{ watervalue }}°C</strong><br />