def preset_modes(self):
        """Return a list of available preset modes."""
        if self._supported_features & FanEntityFeature.PRESET_MODE:
            return self._miot_property.list_descriptions()
        return None
Return a list of available preset modes.
custom_components/xiaomi_miot/fan.py