Why my UniFi Access door position sensor worked but didn't show up

The door position terminal on the UniFi Access Hub sensed my door just fine, but the UI showed it as disconnected. The fix turned out to be about the cables being too thin to trigger the terminal's presence detection.