Skip to content

Commit d7aeb18

Browse files
authored
Add docs for Yahoo! Weather platform (home-assistant#2782)
1 parent 098a6f5 commit d7aeb18

File tree

2 files changed

+47
-7
lines changed

2 files changed

+47
-7
lines changed

source/_components/sensor.yweather.markdown

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: page
3-
title: "Yahoo Weather"
3+
title: "Yahoo Weather Sensor"
44
description: "Instructions how to integrate Yahoo Weather within Home Assistant."
55
date: 2016-07-06 9:06
66
sidebar: true
@@ -16,10 +16,10 @@ ha_release: 0.24
1616
The `yweather` platform uses [Yahoo Weather](https://www.yahoo.com/news/weather/) as an source for current meteorological data. The `forecast` will show you the condition for 5 days, 0 is the current day. You can use only `weather`, `temp_min`, and `temp_max` with forecast. It's important to note that a yweather sensor will only show ONE days forecast at a time so to show multiple days forecasts, you will need to use the 'name:' option and give each sensor a unique name.
1717

1818
<p class='note warning'>
19-
Use of the Yahoo Weather API should not exceed reasonable request volume. Access is limited to 2,000 signed calls per day.
19+
Use of the Yahoo Weather API should not exceed reasonable request volume. Access is limited to 2000 signed calls per day.
2020
</p>
2121

22-
The `woeid` (Where On Earth ID) for your location, as shown in the example below. You can find your woeid by copying the numeric digits at the end of the URL for your location at [Yahoo Weather](https://www.yahoo.com/news/weather/). If you don't add a woeid it generate it from Home Assistant's latitude and longitude.
22+
The `woeid` (Where On Earth ID) for your location, as shown in the example below. You can find your WOEID by copying the numeric digits at the end of the URL for your location at [Yahoo Weather](https://www.yahoo.com/news/weather/). If you don't add a WOEID it generate it from Home Assistant's latitude and longitude.
2323

2424
To add Yahoo Weather to your installation, add the following to your `configuration.yaml` file:
2525

@@ -67,25 +67,21 @@ sensor:
6767
- weather
6868
- temp_min
6969
- temp_max
70-
7170
- platform: yweather
7271
forecast: 2
7372
name: yw_day2
7473
monitored_conditions:
7574
- weather
7675
- temp_min
7776
- temp_max
78-
7977
- platform: yweather
8078
forecast: 3
8179
name: yw_day3
8280
monitored_conditions:
8381
- weather
8482
- temp_min
8583
- temp_max
86-
8784
```
8885

89-
9086
Details about the API are available in the [Yahoo! Developer Network](https://developer.yahoo.com/weather/).
9187

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
layout: page
3+
title: "Yahoo Weather"
4+
description: "Instructions how to integrate Yahoo Weather within Home Assistant."
5+
date: 2016-07-06 9:06
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: yahooweather.png
11+
ha_category: Weather
12+
ha_release: 0.47
13+
---
14+
15+
16+
The `yweather` platform uses [Yahoo Weather](https://www.yahoo.com/news/weather/) as an source for current meteorological data. The `forecast` will show you the condition for 5 days, 0 is the current day.
17+
18+
<p class='note warning'>
19+
Use of the Yahoo Weather API should not exceed reasonable request volume. Access is limited to 2000 signed calls per day.
20+
</p>
21+
22+
The `woeid` (Where On Earth ID) for your location, as shown in the example below. You can find your WOEID by copying the numeric digits at the end of the URL for your location at [Yahoo Weather](https://www.yahoo.com/news/weather/). If you don't add a WOEID it generate it from Home Assistant's latitude and longitude.
23+
24+
To add Yahoo Weather to your installation, add the following to your `configuration.yaml` file:
25+
26+
```yaml
27+
# Example configuration.yaml entry
28+
weather:
29+
- platform: yweather
30+
```
31+
32+
Configuration variables:
33+
34+
- **woeid** (*Optional*): See above.
35+
- **forecast** (*Optional*): Day of forecast. The default is the current day to display conditions.
36+
- **name** (*Optional*): The name of the sensor. To easily recognize each sensor when adding more than one Yahoo weather sensor, it is recommended to use the name option. Defaults to `Yweather`.
37+
38+
39+
<p class='note'>
40+
This platform is an alternative to the [`yweather`](/components/sensor.yweather/) sensor.
41+
</p>
42+
43+
Details about the API are available in the [Yahoo! Developer Network](https://developer.yahoo.com/weather/).
44+

0 commit comments

Comments
 (0)