def hs_color(self):
        """Return the hue and saturation color value [float, float]."""
        rgb = self.rgb_color
        if rgb is not None:
            return color.color_RGB_to_hs(*rgb)
        return None
Return the hue and saturation color value [float, float].
custom_components/xiaomi_miot/light.py