I also have a human presence sensor that I’d like to get working. You may want to look at this thread.
A generic edge driver has been created that works with some Tuya devices. I’ve not had any luck getting it to work, but maybe you might. Hopefully we can get it working and share the results with others.