Skip to content

Commit 691de07

Browse files
tchellomellofabaff
authored andcommitted
Added documentation for Yahoo Finance platform (home-assistant#957)
1 parent 292c4a3 commit 691de07

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
layout: page
3+
title: "Yahoo Finance"
4+
description: "Instructions how to setup Yahoo Finance within Home Assistant."
5+
date: 2016-09-18 21:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: yahoo_finance.png
11+
ha_category: Finance
12+
ha_iot_class: "Cloud Polling"
13+
featured: false
14+
ha_release: 0.29
15+
---
16+
17+
The `yahoo_finance` platform uses [Yahoo Finance](https://finance.yahoo.com/) to monitor the stock market.
18+
19+
To enable the `yahoo_finance` platform, add the following lines to your `configuration.yaml` file:
20+
21+
```yaml
22+
# Example configuration.yaml entry
23+
sensor:
24+
- platform: yahoo_finance
25+
name: Red Hat Inc.
26+
symbol: RHT
27+
```
28+
29+
Configuration variables:
30+
31+
- **name** (*Optional*): The name of the sensor. If not specified, it defaults to *Yahoo Stock*.
32+
- **symbol** (*Optional*): The stock market symbol for a given company. If not specified, it defaults to *Yahoo (YHOO)*.
33+
34+
Example configuration:
35+
36+
```yaml
37+
# Example configuration.yaml entry
38+
sensor:
39+
- platform: yahoo_finance
40+
name: Red Hat Inc.
41+
symbol: RHT
42+
43+
- platform: yahoo_finance
44+
name: Google
45+
symbol: GOOGL
46+
```
64.1 KB
Loading

0 commit comments

Comments
 (0)