📡 {{ sensor_id }} — Reading History ({{ days }}d)

{% if readings %} {% from "macros.html" import temp_class, batt_style %} {% for r in readings %} {% endfor %}
Timestamp Date Bucket Temp (°C) Humidity (%) Pressure (hPa) Battery
{{ r.ts.strftime('%Y-%m-%d %H:%M:%S') if r.ts else '—' }} {{ r.date_bucket }} {{ "%.2f"|format(r.temperature) }} {{ "%.1f"|format(r.humidity) }} {{ "%.1f"|format(r.pressure) }} {{ r.battery_pct }}%
Showing {{ readings | length }} readings · per_partition_limit(20) · ClusteringKey(order="DESC")
{% else %}
📡

No readings found for {{ sensor_id }} in the last {{ days }} days

{% endif %}