Update Yweather component configuration variable (#6567)

Update style of Yweather component documentation to follow new configuration variables description.
Related to #6385.
This commit is contained in:
Klaas Schoute 2018-10-07 09:02:22 +02:00 committed by Fabian Affolter
parent 028422c580
commit 9e5bacd9e9

View File

@ -31,15 +31,20 @@ weather:
- platform: yweather - platform: yweather
``` ```
Configuration variables: {% configuration %}
woeid:
- **woeid** (*Optional*): See above. description: Your Where On Earth ID, see above for all the info.
- **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`. required: false
type: integer
name:
description: 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.
required: false
default: yweather
type: string
{% endconfiguration %}
<p class='note'> <p class='note'>
This platform is an alternative to the [`yweather`](/components/sensor.yweather/) sensor. This platform is an alternative to the [`yweather`](/components/sensor.yweather/) sensor.
</p> </p>
Details about the API are available in the [Yahoo! Developer Network](https://developer.yahoo.com/weather/). Details about the API are available in the [Yahoo! Developer Network](https://developer.yahoo.com/weather/).