Class SinglePixelLightController
-
- All Implemented Interfaces:
-
crackers.kobots.mqtt.homeassistant.LightController
public final class SinglePixelLightController implements LightController
Simple HomeAssistant "light" that controls a single pixel on a 1->n
PixelBuf
strand (e.g. a WS28xx LED). Note that the effects must be in the context of aPixelBuf
target. TODO this should be just a PixelBufController with the start==end index
-
-
Field Summary
Fields Modifier and Type Field Description private final <Error class: unknown class>
lightEffects
private final String
controllerIcon
-
Method Summary
Modifier and Type Method Description <Error class: unknown class>
getLightEffects()
String
getControllerIcon()
LightState
current()
Get the state of the light. Unit
set(LightCommand command)
Set the state of the light. -
-
Method Detail
-
getLightEffects
<Error class: unknown class> getLightEffects()
-
getControllerIcon
String getControllerIcon()
-
current
LightState current()
Get the state of the light.
-
set
Unit set(LightCommand command)
Set the state of the light.
-
-
-
-