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,39 +26,40 @@ To add Dark Sky to your installation, add the following to your `configuration.y
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
sensor: sensor:
platform: darksky - platform: darksky
api_key: YOUR_APP_KEY api_key: YOUR_APP_KEY
monitored_conditions: monitored_conditions:
- summary - summary
- icon - icon
- nearest_storm_distance - nearest_storm_distance
- nearest_storm_bearing - nearest_storm_bearing
- precip_type - precip_type
- precip_intensity - precip_intensity
- precip_probability - precip_probability
- temperature - temperature
- apparent_temperature - apparent_temperature
- dew_point - dew_point
- wind_speed - wind_speed
- wind_bearing - wind_bearing
- cloud_cover - cloud_cover
- humidity - humidity
- pressure - pressure
- visibility - visibility
- ozone - ozone
- minutely_summary - minutely_summary
- hourly_summary - hourly_summary
- daily_summary - daily_summary
- temperature_max - temperature_max
- temperature_min - temperature_min
- apparent_temperature_max - apparent_temperature_max
- apparent_temperature_min - apparent_temperature_min
- precip_intensity_max - precip_intensity_max
``` ```
Configuration variables: Configuration variables:
- **api_key** (*Required*): Your API key. - **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. - **monitored_conditions** array (*Required*): Conditions to display in the frontend.
- **summary**: A human-readable text summary of the current conditions. - **summary**: A human-readable text summary of the current conditions.
- **precip_type**: The type of precipitation occurring. - **precip_type**: The type of precipitation occurring.

View File

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

View File

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