Weather variables show current weather for a configured lookup city.
Use weather.lookup_city and weather.units in the same response to set defaults without displaying extra text.
It's currently {weather.temp} C in {weather.city} with {weather.description} {weather.lookup_city Stockholm} {weather.units metric}
| Variable | Use | Output |
|---|
{weather.lookup_city <city>} | Sets the default city for the weather lookup. | Empty output |
{weather.units metric} | Uses Celsius. This is the default. | Empty output |
{weather.units imperial} | Uses Fahrenheit. | Empty output |
| Variable | Use | Example output |
|---|
{weather.temp} | Shows the current temperature. | 23 |
{weather.temp_min} | Shows the forecasted minimum temperature. | 17 |
{weather.temp_max} | Shows the forecasted maximum temperature. | 28 |
{weather.description} | Shows a short weather description. | light rain |
{weather.city} | Shows the city currently being looked up. | Aarhus |
{weather.wind_speed} | Shows the current wind speed. | 4.6 |