Updating devices takes really long for IKEA motion sensor

This procedure worked for me… Matter OTA Updates - #27 by Rammstein

Of course i had Myggbett devices…but maybe this helps you when you do the same steps instead of the contact signal you activate the motion sensor till the end.