Add name which is an optional variable

This commit is contained in:
Fabian Affolter 2016-10-08 21:54:40 +02:00
parent 59568972ab
commit 9cd416de0a
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336
3 changed files with 31 additions and 29 deletions

View File

@ -26,7 +26,7 @@ To add Dark Sky to your installation, add the following to your `configuration.y
```yaml
# Example configuration.yaml entry
sensor:
platform: darksky
- platform: darksky
api_key: YOUR_APP_KEY
monitored_conditions:
- summary
@ -59,6 +59,7 @@ sensor:
Configuration variables:
- **api_key** (*Required*): Your API key.
- **name** (*Optional*): Additional name for the sensors. Default to platform name.
- **monitored_conditions** array (*Required*): Conditions to display in the frontend.
- **summary**: A human-readable text summary of the current conditions.
- **precip_type**: The type of precipitation occurring.

View File

@ -38,6 +38,7 @@ sensor:
Configuration variables:
- **api_key** (*Required*): Your API key for http://openweathermap.org/.
- **name** (*Optional*): Additional name for the sensors. Default to platform name.
- **forecast** (*Optional*): Enables the forecast. The default is to display the current conditions.
- **monitored_conditions** array (*Required*): Conditions to display in the frontend.
- **weather**: A human-readable text summary.

View File

@ -43,7 +43,7 @@ Configuration variables:
- **woeid** (*Optional*): See above.
- **forecast** (*Optional*): Day of forecast. The default is the current day to display conditions.
- **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.
- **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`.
- **monitored_conditions** array (*Required*): Conditions to display in the frontend.
- **weather**: A human-readable text summary with picture from yahoo.
- **weather_current**: A human-readable text summary with picture from yahoo from current conditon.