Hopefully the magnet error will disappear from my error log with the new code.
The magnet is working well but in the error log it is an active error.
If I remove the magnet and install it reversed, the error message is gone but the magnet dont work.
Strange .....