From e5fc2e201780a78e5a98021e9c1315840b92f6f6 Mon Sep 17 00:00:00 2001 From: Ryan Claussen Date: Sat, 30 Mar 2019 03:28:51 -0500 Subject: [PATCH] Add hourly forecast sensor creation and documentation for Dark Sky Sensor (#8871) --- source/_components/darksky.markdown | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/source/_components/darksky.markdown b/source/_components/darksky.markdown index 646a49f0fab..7a87aaf2f32 100644 --- a/source/_components/darksky.markdown +++ b/source/_components/darksky.markdown @@ -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 `_`. + 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 `_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 `_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 +