{% extends "base.html" %} {% block title %}{{ device.name }} - SwitchBot Temps{% endblock %} {% block content %}

Device readings

{{ device.name }}

{{ device.device_type }}. Local timezone: {{ timezone }}.

Back to dashboard

Samples

{{ readings|length }}

Low temp

{{ "%.1f"|format(stats.low) if stats else "n/a" }}°C

High temp

{{ "%.1f"|format(stats.high) if stats else "n/a" }}°C

Day graph

Temperature readings for {{ date }}.

Readings

Timestamped readings for this device and day.

{% for reading in local_readings %} {% else %} {% endfor %}
Timestamp Temperature Humidity Battery
{{ reading.timestamp }} {{ "%.1f"|format(reading.temperature) if reading.temperature is not none else "n/a" }}°C {{ reading.humidity if reading.humidity is not none else "n/a" }}% {{ reading.battery if reading.battery is not none else "n/a" }}%
No readings found for this day.
{% endblock %}