Mark "variant" as required for neopixelbus (#1652)

Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
Philip Allgaier 2021-11-25 13:25:15 +01:00 committed by GitHub
parent 58f3f38203
commit 180c4d9d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,12 +38,12 @@ Configuration variables:
- **type** (*Optional*, string): The type of light. This is used to specify - **type** (*Optional*, string): The type of light. This is used to specify
if it is an RGBW or RGB light and in which order the colors are. Defaults to if it is an RGBW or RGB light and in which order the colors are. Defaults to
``GRB``. Change this if you have lights with white value and/or the colors are in the wrong order. ``GRB``. Change this if you have lights with white value and/or the colors are in the wrong order.
- **variant** (*Optional*, string): The chipset variant. You can read more about these - **variant** (**Required**, string): The chipset variant. You can read more about these
`here <https://github.com/Makuna/NeoPixelBus/wiki/NeoPixelBus-object#neopixel-led-model-specific-methods>`__ `here <https://github.com/Makuna/NeoPixelBus/wiki/NeoPixelBus-object#neopixel-led-model-specific-methods>`__
(some of the info on that page is not entirely correct). (some of the info on that page is not entirely correct).
One of these values: One of these values:
- ``800KBPS`` (default) - ``800KBPS``
- ``400KBPS`` - ``400KBPS``
- ``WS2812X`` - ``WS2812X``
- ``SK6812`` - ``SK6812``