From 90919e784b29fdd69a52a33fb0f4d27f8de9659b Mon Sep 17 00:00:00 2001 From: Lukas Barth Date: Sat, 9 Sep 2017 09:42:48 +0200 Subject: [PATCH] Add documentation for YR forecast data (#3059) * Add documentation for YR forecast data * Update sensor.yr.markdown --- source/_components/sensor.yr.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_components/sensor.yr.markdown b/source/_components/sensor.yr.markdown index f008082fcfd..362c3aaedbf 100644 --- a/source/_components/sensor.yr.markdown +++ b/source/_components/sensor.yr.markdown @@ -14,7 +14,7 @@ ha_iot_class: "Cloud Polling" --- -The `yr` platform uses [YR.no](http://www.yr.no/) as an source for current meteorological data for your location. The +The `yr` platform uses [YR.no](http://www.yr.no/) as an source for current meteorological data for your location. The weather forecast is delivered by the Norwegian Meteorological Institute and the NRK. To add YR to your installation, add the following to your `configuration.yaml` file: @@ -28,6 +28,7 @@ sensor: Configuration variables: - **name** (*Optional*): Additional name for the sensors. Default to platform name. +- **forecast** integer (*Optional*): If you want to get forecast data instead of the current weather data, set this to the number of hours that you want to look into the future. - **monitored_conditions** array (*Optional*): Conditions to display in the frontend. - **symbol**: A symbol for the current weather. - **temperature**: The current temperature. @@ -50,6 +51,7 @@ A full configuration example can be found below: sensor: - platform: yr name: Weather + forecast: 24 monitored_conditions: - temperature - symbol