code: def get_hs_color(self):
          
          # Get the color from homematic. In general this is just the hue parameter.
          hm_color = self.getCachedOrUpdatedValue("COLOR", channel=self._color_channel)
  
          if hm_color >= 200:
              # 200 is a special case (white), so we have a saturation of 0.
              # Larger values are undefined. For the sake of robustness we return "white" anyway.
              return 0, 0
  
          # For all other colors we assume saturation of 1
          return hm_color/200, 1
docs: Return the color of the light as HSV color without the "value" component for the brightness.
  
          Returns (hue, saturation) tuple with values in range of 0-1, representing the H and S component of the
          HSV color system.