Ubiquiti mFi-MSW

I have a Ubiquiti mFi-MSW. It’s a movement sensor and it’s attached to mport. I’ve looked in the sensor.py and it’s not there.

Can anyone make it work with HA, please?

Thank you.