Skip to content

Commit 9cd416d

Browse files
committed
Add name which is an optional variable
1 parent 5956897 commit 9cd416d

File tree

3 files changed

+31
-29
lines changed

3 files changed

+31
-29
lines changed

source/_components/sensor.darksky.markdown

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -26,39 +26,40 @@ To add Dark Sky to your installation, add the following to your `configuration.y
2626
```yaml
2727
# Example configuration.yaml entry
2828
sensor:
29-
platform: darksky
30-
api_key: YOUR_APP_KEY
31-
monitored_conditions:
32-
- summary
33-
- icon
34-
- nearest_storm_distance
35-
- nearest_storm_bearing
36-
- precip_type
37-
- precip_intensity
38-
- precip_probability
39-
- temperature
40-
- apparent_temperature
41-
- dew_point
42-
- wind_speed
43-
- wind_bearing
44-
- cloud_cover
45-
- humidity
46-
- pressure
47-
- visibility
48-
- ozone
49-
- minutely_summary
50-
- hourly_summary
51-
- daily_summary
52-
- temperature_max
53-
- temperature_min
54-
- apparent_temperature_max
55-
- apparent_temperature_min
56-
- precip_intensity_max
29+
- platform: darksky
30+
api_key: YOUR_APP_KEY
31+
monitored_conditions:
32+
- summary
33+
- icon
34+
- nearest_storm_distance
35+
- nearest_storm_bearing
36+
- precip_type
37+
- precip_intensity
38+
- precip_probability
39+
- temperature
40+
- apparent_temperature
41+
- dew_point
42+
- wind_speed
43+
- wind_bearing
44+
- cloud_cover
45+
- humidity
46+
- pressure
47+
- visibility
48+
- ozone
49+
- minutely_summary
50+
- hourly_summary
51+
- daily_summary
52+
- temperature_max
53+
- temperature_min
54+
- apparent_temperature_max
55+
- apparent_temperature_min
56+
- precip_intensity_max
5757
```
5858
5959
Configuration variables:
6060
6161
- **api_key** (*Required*): Your API key.
62+
- **name** (*Optional*): Additional name for the sensors. Default to platform name.
6263
- **monitored_conditions** array (*Required*): Conditions to display in the frontend.
6364
- **summary**: A human-readable text summary of the current conditions.
6465
- **precip_type**: The type of precipitation occurring.

source/_components/sensor.openweathermap.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ sensor:
3838
Configuration variables:
3939
4040
- **api_key** (*Required*): Your API key for http://openweathermap.org/.
41+
- **name** (*Optional*): Additional name for the sensors. Default to platform name.
4142
- **forecast** (*Optional*): Enables the forecast. The default is to display the current conditions.
4243
- **monitored_conditions** array (*Required*): Conditions to display in the frontend.
4344
- **weather**: A human-readable text summary.

source/_components/sensor.yweather.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Configuration variables:
4343
4444
- **woeid** (*Optional*): See above.
4545
- **forecast** (*Optional*): Day of forecast. The default is the current day to display conditions.
46-
- **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.
46+
- **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`.
4747
- **monitored_conditions** array (*Required*): Conditions to display in the frontend.
4848
- **weather**: A human-readable text summary with picture from yahoo.
4949
- **weather_current**: A human-readable text summary with picture from yahoo from current conditon.

0 commit comments

Comments
 (0)