Rollershutter widget - keeps sending command

When I setup a rollershutter widget, it seems to work. The shutters close or open, yet the status of the icon never returns to a final state, it either keeps saying ‘opening’ or ‘closing’.

When I look in the events.log I see that the UP or DOWN command is being sent over and over, so even after the shutter is down, there still is one DOWN command.

If I then use the legacy app and try to open it again, it sends the UP command, the shutter starts opening and the directly receives a DOWN command again from the new app. I have to remove the widget from the dashboard to be able to use the rollershutter again.