sounds like a parameter is already set to reverse their reported status. By the original owner.
They change state when you remove the magnet ?
I do not know specifically which parameter, or how to change the parameter. I expect you can temporarily change the device type definition in IDE, then press “configure” in phone-app, then change device type back to default, to reverse the reported status.
I really should learn, since I have status sensors that would be slightly nicer to use, if I reversed their statuses. But you’d better not wait for me to figure it out.
i actually used the Zwave door/window sensor device handler and sensors work fine now… i really should think it should’nt be this hard… . lesson learned…