Updated links (#19915)

This commit is contained in:
Snailboy2 2021-10-23 08:59:02 +00:00 committed by GitHub
parent 0ef7acfc19
commit f7e1c45dfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ ha_platforms:
- switch - switch
--- ---
[WLED](https://github.com/Aircoookie/WLED) is a fast and feature-rich [WLED](https://kno.wled.ge) is a fast and feature-rich
implementation of an ESP8266/ESP32 webserver to control implementation of an ESP8266/ESP32 webserver to control
NeoPixel (WS2812B, WS2811, SK6812, APA102, and similar) LED's. NeoPixel (WS2812B, WS2811, SK6812, APA102, and similar) LED's.
@ -87,7 +87,7 @@ Can be configured on the WLED itself under settings > LED Preferences > Timed li
Toggles the synchronization between multiple WLED devices. Toggles the synchronization between multiple WLED devices.
Can be configured on the WLED itself under settings > Sync Interfaces > WLED Broadcast. Can be configured on the WLED itself under settings > Sync Interfaces > WLED Broadcast.
[WLED Sync documentation](https://github.com/Aircoookie/WLED/wiki/Sync-WLED-devices-(UDP-Notifier)) [WLED Sync documentation](https://kno.wled.ge/interfaces/udp-realtime/)
{% include integrations/option_flow.md %} {% include integrations/option_flow.md %}
@ -115,7 +115,7 @@ This service allows for controlling the WLED effect.
| `reverse` | no | Reverse the effect. Either `true` to reverse or `false` otherwise. | | `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 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). effect) [is documented in the WLED Knowledge base](https://kno.wled.ge/features/effects-palettes/).
## Example Automations ## Example Automations
@ -141,7 +141,7 @@ Activating a random palette is a bit more complicated as there is currently no w
To go around this issue, one solution is to leverage the fact that palettes can be activated by their IDs. To go around this issue, one solution is to leverage the fact that palettes can be activated by their IDs.
As the IDs are based on an incrementing counter, picking a random number between zero and the number of palettes minus one works. As the IDs are based on an incrementing counter, picking a random number between zero and the number of palettes minus one works.
To do this, the first step is to use [WLED's JSON API](https://github.com/Aircoookie/WLED/wiki/JSON-API) find out how many palettes the device supports: To do this, the first step is to use [WLED's JSON API](https://kno.wled.ge/interfaces/json-api) find out how many palettes the device supports:
```bash ```bash
$ curl --silent http://<ip address of the wled device>/json | jq ".palettes | length" $ curl --silent http://<ip address of the wled device>/json | jq ".palettes | length"