Class KobotRGBLight

  • All Implemented Interfaces:
    crackers.kobots.mqtt.homeassistant.KobotHAEntity , kotlin.Comparable

    
    public class KobotRGBLight
    extends KobotLight
                        

    Describes an RGB light. This conforms to the Home Assistant MQTT light spec and allows for a list of "effects" that can be selected via MQTT.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      <Error class: unknown class> discovery() A generic configuration for the device, which can be used to generate the discovery message because there are too many "base" configuration parameters to be able to handle them cleanly, so just dump it on the child class to figure it out.
      • Methods inherited from class crackers.kobots.mqtt.homeassistant.KobotLight

        currentState, getComponent, getIcon, handleCommand
      • Methods inherited from class crackers.kobots.mqtt.homeassistant.CommandEntity

        getCommandTopic, start
      • Methods inherited from class crackers.kobots.mqtt.homeassistant.AbstractKobotEntity

        getDeviceIdentifier, getName, getStatusTopic, getUniqueId, remove, sendCurrentState
      • Methods inherited from class crackers.kobots.mqtt.homeassistant.KobotHAEntity

        compareTo
      • Methods inherited from class java.lang.Object

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

      • discovery

         <Error class: unknown class> discovery()

        A generic configuration for the device, which can be used to generate the discovery message because there are too many "base" configuration parameters to be able to handle them cleanly, so just dump it on the child class to figure it out.