Interface LightEffector

  • All Implemented Interfaces:

    
    public interface LightEffector<T extends Object>
    
                        

    Interface for light effectors that can be applied to a light device.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit start(T device) Start the effect on the given device.
      abstract Unit stop() Stop the effect.
      abstract String getName() The name of the effect as it will appear in Home Assistant.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • start

         abstract Unit start(T device)

        Start the effect on the given device.

      • stop

         abstract Unit stop()

        Stop the effect.

      • getName

         abstract String getName()

        The name of the effect as it will appear in Home Assistant.