spejsiot-api/templates/endpoints/temperature.html

5 lines
171 B
HTML

<h1>{{ endpoint['degrees'] }}<small>°{{ endpoint.get('unit', 'C') }}</small></h1>
{% if endpoint['humidity'] %}
<small>{{ endpoint['humidity'] }}% RH</small>
{% endif %}