Class BasicLightController

  • All Implemented Interfaces:
    crackers.kobots.mqtt.homeassistant.LightController

    
    public final class BasicLightController
     implements LightController
                        

    Turns it on and off, adjust brightness.

    TODO support a minimal set of effects? should support fade-in/out as HA settings?

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicLightController(PwmOutputDevice device)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<String> getLightEffects()
      String getControllerIcon()
      final PwmOutputDevice getDevice()
      <Error class: unknown class> set(LightCommand command) Set the state of the light.
      LightState current() Get the state of the light.
      • 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