mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Add hourly forecast sensor creation and documentation for Dark Sky Sensor (#8871)
This commit is contained in:
parent
de5d048769
commit
2da8a0df1a
@ -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 `<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:
|
||||
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user