{% if hourly %} {% set numSteps = hourly | calcNumEntries %} {% set currentStep = 0 %} {% set hours = hourly.slice(0, numSteps) %} {% for hour in hours %} {% if config.showUVIndex %} {% endif %} {% if config.showPrecipitationAmount %} {% endif %} {% if config.showPrecipitationProbability %} {% endif %} {% set currentStep = currentStep + 1 %} {% endfor %}
{{ hour.date | formatTime }} {{ hour.temperature | roundValue | unit("temperature") }} {% if hour.uv_index!=0 %} {{ hour.uv_index }} {% endif %} {{ hour.precipitationAmount | unit("precip", hour.precipitationUnits) }} {{ hour.precipitationProbability | unit("precip", "%") }}
{% else %}
{{ "LOADING" | translate }}
{% endif %}