Door/Window Open/Close Contact

There are multiple existing threads on this topic, so I’d check those.

Since you aren’t specifically looking for a budget sensor,
I’d also consider Sensative strips. These fit in the door frame instead of on the door, so they are nearly invisible. Work well out of the box with smartthings. They have a patented battery which should last for about 10 years, but it’s not replaceable.

The prices recently gone way up, I’ve seen them as much as $65 each on Amazon. Some specialty retailers still have some in stock, and then you can find them at the old prices:

https://www.homecontrols.com/Sensative-Strips-Guard-DoorWindow-Sensor-Z-Wave-3-Pack-SV1101012PACK3?gclid=EAIaIQobChMIhY2gsNHO8QIV9jytBh0lCQVHEAQYAiABEgJYaPD_BwE

So this is a good choice for some people, but not everyone.

Note that this is a Z wave sensor, so if you have to make sure it matches the frequency of your hub. You didn’t say what country you are in. Sensative sells both US and EU/UK models, so make sure you are getting the right one.