From 9c5b4534a6258332256891392e4571e3cb59ed1b Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 23 Mar 2020 21:46:42 +0100 Subject: [PATCH] Add effect service to WLED integration (#12461) --- source/_integrations/wled.markdown | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/source/_integrations/wled.markdown b/source/_integrations/wled.markdown index d8d097d3c1d..52186c783c7 100644 --- a/source/_integrations/wled.markdown +++ b/source/_integrations/wled.markdown @@ -67,4 +67,20 @@ The integration will create a number of switches: ## Services -This integration currently does not offer any additional services. +Currently, the WLED integration provides one service for controlling effect. +More services for other WLED features are expected to be added in the future. + +### Service `wled.effect` + +This service allows for controlling the WLED effect. + +| Service Data Attribute | Required | Description | +| ---------------------- | -------- | --------------------------------------------------------------------------------------------------------------- | +| `entity_id` | no | A WLED entity ID, or list entity IDs, to apply the effect to. Use `entity_id: all` to target all WLED entities. | +| `effect` | no | Name or ID of the WLED light effect. | +| `intensity` | no | Intensity of the effect. | +| `speed` | no | Speed of the effect. Number between `0` (slow) and `255` (fast). | +| `reverse` | no | Reverse the effect. Either `true` to reverse or `false` otherwise. | + +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).