Instant entity rotation

I'm using execute summon to summon an entity and apply a few changes to itself, in particular the starting rotation based on another entity.

It works, but the rotation is applied "smoothly", meaning that the entity spawns facing the default direction and then slowly turns towards the direction I set. Is there a way to avoid this and make this transition instant?

Continue to help post