
* u-z integrations: apply sentence-style caps to categories * Apply suggestions from code review Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Add references to glossary terms * Update source/_integrations/universal.markdown Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Update source/_integrations/universal.markdown Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * linter: change vizio to VIZIO - as per product website https://www.vizio.com/en/smartcast * remove term refs from YAML * VIZIO: change spelling according to website - https://www.vizio.com/en/t * Update source/_integrations/vizio.markdown * Update source/_integrations/universal.markdown * Apply suggestions from code review Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Update source/_integrations/unifiprotect.markdown Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Apply suggestions from code review Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Apply suggestions from code review Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Fix some more to sentence-style caps * Update source/_integrations/unifiprotect.markdown Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Update source/_integrations/unifiprotect.markdown Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Update source/_integrations/unifiprotect.markdown Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> --------- Co-authored-by: Joakim Sørensen <joasoe@gmail.com> Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2.8 KiB
title | description | ha_category | ha_release | ha_iot_class | ha_config_flow | ha_codeowners | ha_domain | ha_integration_type | ha_platforms | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Apple WeatherKit | Instructions on how to set up Apple WeatherKit with Home Assistant. |
|
2023.10 | Cloud Polling | true |
|
weatherkit | integration |
|
The Apple WeatherKit {% term integration %} obtains current weather and forecasts (hourly and daily) from Apple Weather. It is the most direct replacement for those coming from the Dark Sky API since Apple bought Dark Sky and implemented its technology into their weather service.
There is currently support for the following device types within Home Assistant:
- Weather
- Sensor
Requirements
You will need a paid Apple Developer Program account to use this {% term integration %}.
{% include integrations/config_flow.md %}
Credentials
You will need to obtain the appropriate credentials which you will use to connect to Apple WeatherKit. We need to register a few things in your Apple Developer account:
- Go to Certificates, Identifiers & Profiles in your Apple Developer account.
- In the Keys section, add a new key.
- Name it whatever you want.
- Select "WeatherKit" from the list.
- Download the
.p8
file provided. This is your Private Key. - Write down the Key ID. You will need it later.
- In the Identifiers section, add a new identifier.
- Select "Services IDs" from the drop-down in the top-right.
- Enter whatever you'd like for the description.
- For the identifier, Apple recommends using a reverse-DNS style name, like
com.example.homeassistant
. - Save the identifier you used. This is your Service ID.
You can add a new WeatherKit {% term integration %} entry now that you have all the credentials. Using the details from earlier, it should look something like this:
- Key ID:
ABC123DEFG
- Service ID:
com.example.homeassistant
- Apple team ID:
ABC123DEFG
- This value can be found in the top-right of the Apple Developer website.
- Private key:
-----BEGIN PRIVATE KEY----- [...]
- Open the
.p8
file you downloaded earlier in a text editor and copy the entire contents into this field, including the header and footer.
- Open the
Troubleshooting
If you are having issues setting up the {% term integration %}, please make sure the following are true:
- You are entering the key exactly as it appears in the
.p8
file, including the header and footer. - There are no leading or trailing spaces in other configuration values.