Add documentation for YR forecast data (#3059)

* Add documentation for YR forecast data

* Update sensor.yr.markdown
This commit is contained in:
Lukas Barth 2017-09-09 09:42:48 +02:00 committed by Franck Nijhof
parent 9c7562a6cb
commit 90919e784b

View File

@ -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