[Feature] remap sensor type (contact into presence)
Please use the template and fill in all the data requested below!

**Problem description**

I'd like to have some contact sensors surfaced into HomeKit as presence sensors

**Suggested solution**

Add a configuration setting to override the type and map the contact closed characteristic to presence detected

**Describe alternatives you've considered**

I have a Node-RED MQTT flow that does this, but requires me to expose the sensors separately.

**Additional context**

I am using Aqara sensors (both contact and presence), which is why I'm comparing both directly.

**Are you willing to contribute to this feature?**

Yes, provided there are enough hints to find the relevant bits of code to tweak. There might also be other kinds of sensors for which such a remapping is desirable.