{% macro humidity() %} {% if current.humidity %} {{ current.humidity | decimalSymbol }}  {% endif %} {% endmacro %} {% if current %} {% if not config.onlyTemp %}
{{ current.windSpeed | unit("wind") | round }} {% if config.showWindDirection %} {% if config.showWindDirectionAsArrow %} {% else %} {{ current.cardinalWindDirection() | translate }} {% endif %}   {% endif %} {% if config.showHumidity === "wind" %} {{ humidity() }} {% endif %} {% if config.showSun %} {% if current.nextSunAction() === "sunset" %} {{ current.sunset | formatTime }} {% else %} {{ current.sunrise | formatTime }} {% endif %} {% endif %} {% if config.showUVIndex %}
{{ current.uv_index }} {% endif %}
{% endif %}
{% if config.showIndoorTemperature and indoor.temperature or config.showIndoorHumidity and indoor.humidity %} {% if config.showIndoorTemperature and indoor.temperature %} {{ indoor.temperature | roundValue | unit("temperature") | decimalSymbol }} {% endif %} {% if config.showIndoorHumidity and indoor.humidity %} {{ indoor.humidity | roundValue | unit("humidity") | decimalSymbol }} {% endif %} {% endif %} {{ current.temperature | roundValue | unit("temperature") | decimalSymbol }} {% if config.showHumidity === "temp" %} {{ humidity() }} {% endif %}
{% if (config.showFeelsLike or config.showPrecipitationAmount or config.showPrecipitationProbability) and not config.onlyTemp %}
{% if config.showFeelsLike %} {% if config.showHumidity === "feelslike" %} {{ humidity() }} {% endif %} {{ "FEELS" | translate({DEGREE: current.feelsLike() | roundValue | unit("temperature") | decimalSymbol }) }}
{% endif %} {% if config.showPrecipitationAmount and current.precipitationAmount %} {{ "PRECIP_AMOUNT" | translate }} {{ current.precipitationAmount | unit("precip", current.precipitationUnits) }}
{% endif %} {% if config.showPrecipitationProbability and current.precipitationProbability %} {{ "PRECIP_POP" | translate }} {{ current.precipitationProbability }}% {% endif %}
{% endif %} {% if config.showHumidity === "below" %} {{ humidity() }} {% endif %} {% else %}
{{ "LOADING" | translate }}
{% endif %}