Hi Herbert,
It is very unclear what you are doing and what you are trying to do.
Could you back-up a bit and tells what you are trying to accomplish.
And deactivating and reactivating automations is very nearly never the way to go here. Just starting with that.