Native Homekit integration & HSM?

I seem to remember somebody created a device driver that was a switch AND presence sensor. Using that would probably allow it to be exposed to Homekit in new integration. I think the person used it for Alexa but I can't find it.

EDIT: This one isn't the one I remember; it's a lot more in-depth. I tried it and device still isn't available to use in Homekit integration.