Class PlugProperties

java.lang.Object
org.openremote.agent.protocol.tradfri.device.DeviceProperties
org.openremote.agent.protocol.tradfri.device.PlugProperties

public class PlugProperties extends DeviceProperties
The class that contains the properties of an IKEA TRÃ…DFRI plug
  • Constructor Details

    • PlugProperties

      public PlugProperties()
      Construct the PlugProperties class
  • Method Details

    • getOn

      public Boolean getOn()
      Get the on state of the plug
      Returns:
      The on state of the plug (true for on, false for off)
    • setOn

      public void setOn(Boolean on)
      Set the on state of the plug within the PlugProperties class
      Note: This does not change the actual plug
      Parameters:
      on - The new on state for the plug (true for on, false for off)