{% if hourly or weatherData %} {% if weatherData %} {% set hourly = weatherData.hours %} {% endif %} {% set numSteps = hourly | calcNumEntries %} {% set currentStep = 0 %} {% set hours = hourly.slice(0, numSteps) %} {% for hour in hours %} {% if config.showPrecipitationAmount %} {% endif %} {% set currentStep = currentStep + 1 %} {% endfor %}
{{ hour.date | formatTime }} {{ hour.temperature | roundValue | unit("temperature") }} {{ hour.precipitation | unit("precip") }}
{% else %}
{{ "LOADING" | translate | safe }}
{% endif %}