From 2da8a0df1a421e5fb8cd7558a5947abfa15f0cd9 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/sensor.darksky.markdown | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/source/_components/sensor.darksky.markdown b/source/_components/sensor.darksky.markdown index 16d4b160ff5..ce5ba179121 100644 --- a/source/_components/sensor.darksky.markdown +++ b/source/_components/sensor.darksky.markdown @@ -35,6 +35,9 @@ sensor: api_key: YOUR_API_KEY forecast: - 0 + hourly_forecast: + - 0 + - 1 monitored_conditions: - summary - icon @@ -52,7 +55,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: @@ -217,3 +224,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 +