Add WLED preset service call documentation (#15358)

This commit is contained in:
Alex Popoutsis 2020-10-28 03:38:10 -05:00 committed by GitHub
parent d29d90f0fe
commit 2fc7a3623b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,3 +103,15 @@ This service allows for controlling the WLED effect.
A list of all available effects (and the behavior of the intensity for each
effect) [is documented in the WLED Wiki](https://github.com/Aircoookie/WLED/wiki/List-of-effects-and-palettes#effects).
### Service `wled.preset`
This service allows for loading a preset saved on the WLED device.
| Service Data Attribute | Required | Description |
| ---------------------- | -------- | --------------------------------------------------------------------------------------------------------------- |
| `entity_id` | no | A WLED entity ID to load the preset from. |
| `preset` | no | ID of the preset slot to load from. |
More information on presets [is documented in the WLED Wiki](https://github.com/Aircoookie/WLED/wiki/Presets)