Class MotionSensorImpl

java.lang.Object
io.github.zeroone3010.yahueapi.v2.MotionSensorImpl
All Implemented Interfaces:
Device

public class MotionSensorImpl
extends Object
implements Device
  • Constructor Details

  • Method Details

    • getId

      public UUID getId()
      Description copied from interface: Device

      Returns the technical id of the device, as assigned by the Bridge. The id stays the same even if the device name is changed by the user.

      Specified by:
      getId in interface Device
      Returns:
      Id of the device.
    • getName

      public String getName()
      Description copied from interface: Device
      Returns the name of the device, as set by the user.
      Specified by:
      getName in interface Device
      Returns:
      Name of the device.
    • toString

      public String toString()
      Overrides:
      toString in class Object