Minimizing of the configuration sample (#1017)
This commit is contained in:
parent
1abe7da82c
commit
8a386143a4
5 changed files with 16 additions and 15 deletions
|
@ -22,8 +22,6 @@ To enable the `yahoo_finance` platform, add the following lines to your `configu
|
|||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
- platform: yahoo_finance
|
||||
name: Red Hat Inc.
|
||||
symbol: RHT
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
@ -31,16 +29,25 @@ Configuration variables:
|
|||
- **name** (*Optional*): The name of the sensor. If not specified, it defaults to *Yahoo Stock*.
|
||||
- **symbol** (*Optional*): The stock market symbol for a given company. If not specified, it defaults to *Yahoo (YHOO)*.
|
||||
|
||||
Example configuration:
|
||||
## {% linkable_title Examples %}
|
||||
|
||||
In this section you find some real life examples of how to use this sensor.
|
||||
|
||||
### {% linkable_title Red Hat %}
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
- platform: yahoo_finance
|
||||
name: Red Hat Inc.
|
||||
symbol: RHT
|
||||
```
|
||||
|
||||
### {% linkable_title Google %}
|
||||
|
||||
```yaml
|
||||
sensor:
|
||||
- platform: yahoo_finance
|
||||
name: Google
|
||||
symbol: GOOGL
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue