Lsc smart connnect pir sensor esphome

I want to connect my lsc pir sensor to homeassistant. I have flashed it with a temporary configuration via tuya-convert. This was succesful.

Does anobody know what the pin is where the pir is connected? Or does anybody has an sample configuration yaml?

Thanks for helping me out.

Kind regards,
Tom

It is not that simple, there is a second low power MCU on there that is controlling the power, etc to the ESP8266. See this info.