You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/sensor.yr.markdown
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ha_iot_class: "Cloud Polling"
14
14
---
15
15
16
16
17
-
The `yr` platform uses [YR.no](http://www.yr.no/) as an source for current meteorological data for your location. The
17
+
The `yr` platform uses [YR.no](http://www.yr.no/) as an source for current meteorological data for your location. The
18
18
weather forecast is delivered by the Norwegian Meteorological Institute and the NRK.
19
19
20
20
To add YR to your installation, add the following to your `configuration.yaml` file:
@@ -28,6 +28,7 @@ sensor:
28
28
Configuration variables:
29
29
30
30
- **name** (*Optional*): Additional name for the sensors. Default to platform name.
31
+
- **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.
31
32
- **monitored_conditions** array (*Optional*): Conditions to display in the frontend.
32
33
- **symbol**: A symbol for the current weather.
33
34
- **temperature**: The current temperature.
@@ -50,6 +51,7 @@ A full configuration example can be found below:
0 commit comments