def percentage_step(self):
        """Return the step size for percentage."""
        if self._prop_percentage:
            return self._prop_percentage.range_step()
        return round(super().percentage_step)
Return the step size for percentage.
custom_components/xiaomi_miot/fan.py