Add more description to the OpenUV API key usage docs (#8397)

This commit is contained in:
Aaron Bach 2019-02-14 11:11:23 -07:00 committed by Franck Nijhof
parent 93e2348d1d
commit 218367e013

View File

@ -35,6 +35,23 @@ component does not automatically query the API for new data after it initially
loads. To request new data, the `update_data` service may be used. loads. To request new data, the `update_data` service may be used.
</p> </p>
<p class='note warning'>
Each use of the `update_data` service will consume 1 or 2 API calls, depending
on which monitored conditions are configured.
If the OpenUV component is configured through the Home Assistant UI (via the
`Configuration >> Integrations` panel), each service call will consume 2 API
calls from the daily quota.
If the OpenUV component is configured via `configuration.yaml`, service calls
will consume 2 API calls if `monitored_conditions` contains both
`uv_protection_window` and any other condition; any other scenarios will only
consume 1 API call.
Ensure that you understand these specifications when calling the `update_data`
service.
</p>
## {% linkable_title Configuration %} ## {% linkable_title Configuration %}
To retrieve data from OpenUV, add the following to your `configuration.yaml` To retrieve data from OpenUV, add the following to your `configuration.yaml`