{% macro show_weather_data(data) %} {%- if data.condition -%} {%- endif -%} {%- if data.temperature -%} {%- endif -%} {%- if data.feelsLike -%} {%- endif -%} {%- if data.wind -%} {%- endif -%} {%- if data.humidity -%} {%- endif -%} {%- if data.pressure -%} {%- endif -%} {%- for name, value in data.attributes.items() -%} {%- endfor -%}
{{ _("Condition") }} {{ data.condition }}
{{ _("Temperature") }} {{ data.temperature }}
{{ _("Feels Like") }} {{ data.feelsLike }}
{{ _("Wind") }} {{ data.wind }}
{{ _("Humidity") }} {{ data.humidity }}
{{ _("Pressure") }} {{ data.pressure }}
{{ name }} {{ value }}
{% endmacro %}
It's currently {{ answer.current.condition }}, {{ answer.current.temperature }} in {{ answer.location }}

{{ answer.location }}

{{ _("Current condition") }}

{{ show_weather_data(answer.current) }} {%- if answer.forecasts -%}
{%- for forecast in answer.forecasts -%}

{{ forecast.time }}

{{ show_weather_data(forecast) }} {%- endfor -%}
{%- endif -%}