From d78be08b5b53f74d2addc8e6cdcb5edacfba350c Mon Sep 17 00:00:00 2001 From: Danny Tsang <567982+dannytsang@users.noreply.github.com> Date: Mon, 27 Mar 2023 08:14:35 +0100 Subject: [PATCH] Added section about hourly weather forecast attributes (#26213) --- source/_integrations/weather.markdown | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/source/_integrations/weather.markdown b/source/_integrations/weather.markdown index c428b931127..63d42e8ac11 100644 --- a/source/_integrations/weather.markdown +++ b/source/_integrations/weather.markdown @@ -34,3 +34,45 @@ The `weather` platform only knows the below listed conditions. The reason for th - 'windy' - 'windy-variant' - 'exceptional' + +### Forecast Information + +Periodic forecast information is stored in the `forecast` attribute on the entity. To access and use the information should be reserved for advanced users using [Templates](/docs/configuration/templating/). + +```yaml +temperature: 14.2 +temperature_unit: °C +humidity: 76 +pressure: 1019 +pressure_unit: hPa +wind_bearing: 260 +wind_speed: 35.17 +wind_speed_unit: km/h +visibility_unit: km +precipitation_unit: mm +forecast: + - condition: cloudy + precipitation_probability: 0 + datetime: '2023-02-17T14:00:00+00:00' + wind_bearing: 268 + temperature: 14.2 + pressure: 1019 + wind_speed: 24.41 + precipitation: 0 + - condition: cloudy + precipitation_probability: 0 + datetime: '2023-02-17T15:00:00+00:00' + wind_bearing: 268 + temperature: 13.8 + pressure: 1019 + wind_speed: 22.61 + precipitation: 0 + - condition: cloudy + precipitation_probability: 0 + datetime: '2023-02-17T16:00:00+00:00' + wind_bearing: 265 + temperature: 13.2 + pressure: 1020 + wind_speed: 20.27 + precipitation: 0 +```