Class SinglePixelLightController
-
- All Implemented Interfaces:
-
crackers.kobots.mqtt.homeassistant.LightController
@Deprecated(replaceWith = @ReplaceWith(imports = {}, expression = "PixelBufController"), message = "Use PixelBufController with count=1") public class SinglePixelLightController extends PixelBufController
Simple HomeAssistant "light" that controls a single pixel on a 1->n
PixelBufstrand (e.g. a WS28xx LED). Note that the effects must be in the context of aPixelBuftarget.
-
-
Field Summary
Fields Modifier and Type Field Description private final <Error class: unknown class>lightEffectsprivate final StringcontrollerIcon
-
Constructor Summary
Constructors Constructor Description SinglePixelLightController(PixelBuf theStrand, Integer index, Set<PixelBufEffector> effects)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class crackers.kobots.mqtt.homeassistant.PixelBufController
current, getControllerIcon, getLightEffects, set -
Methods inherited from class crackers.kobots.mqtt.homeassistant.LightController
exec, flash, transition -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SinglePixelLightController
SinglePixelLightController(PixelBuf theStrand, Integer index, Set<PixelBufEffector> effects)
-
-
-
-