hass-core/homeassistant/components/openuv/services.yaml
StephenWetzel 16fff16082 Add two new methods to the OpenUV component that consume only a singl… (#26207)
* Add two new methods to the OpenUV component that consume only a single API call

* Two lines after class

* Rename methods to better reflect what they do, and DRY copy and pasted code

* More error handling down into methods, run api calls in parallel

* Fix import order

* Add new methods to services.yaml, and update error messages
2019-08-29 09:56:12 -06:00

11 lines
305 B
YAML

# Describes the format for available OpenUV services
---
update_data:
description: Request new data from OpenUV. Consumes two API calls.
update_uv_index_data:
description: Request new UV index data from OpenUV.
update_protection_data:
description: Request new protection window data from OpenUV.