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