Add hourly forecast sensor creation and documentation for Dark Sky Sensor (#8871)

This commit is contained in:
Ryan Claussen 2019-03-30 03:28:51 -05:00 committed by Paulus Schoutsen
parent 245964582c
commit e5fc2e2017

View File

@ -37,6 +37,9 @@ sensor:
api_key: YOUR_API_KEY
forecast:
- 0
hourly_forecast:
- 0
- 1
monitored_conditions:
- summary
- icon
@ -54,7 +57,11 @@ name:
default: Dark Sky
type: string
forecast:
description: List of days in the 7-day forecast you would like to receive data on, starting with today as day 0 and ending with day 7. Any condition from `monitored_conditions` with a daily forecast by Dark Sky will generate a sensor with entity_id `<condition>_<day>`.
description: List of days in the 7-day forecast you would like to receive data on, starting with today as day 0 and ending with day 7. Any condition from `monitored_conditions` with a daily forecast by Dark Sky will generate a sensor with entity_id `<condition>_<day>d`.
required: false
type: list
hourly_forecast:
description: List of hours in the 48-hour forecast you would like to receive data on, starting with this hour as hour 0 and ending with hour 48. Any condition from `monitored_conditions` with an hourly forecast by Dark Sky will generate a sensor with entity_id `<condition>_<hour>h`.
required: false
type: list
language:
@ -219,3 +226,4 @@ While the platform is called "darksky" the sensors will show up in Home Assistan
More details about the API are available in the [Dark Sky API documentation][].
[Dark Sky API documentation]: https://darksky.net/dev/docs