Need help with ESPHome configuration for a PIR Sensor

Hi,

I have a Brilliant Boxer PIR sensor that plugs into the main power (not battery).
It has a WR3 chip in it so it is based on RTL8710XX chipset.

I have recently because aware that ESPHome actually supports RTL8710XX and that the WR3 chipset can be flushed with ESPHome via serial.
Before I embark on this route I want to be 100% sure that I can get a working configuration for ESPHome and the device will function as before.

Here are the details for it:

It has a TuyaMCU and the DPs for it are:

DP 102- Number - LUX Level 0(Dark) - 2000(Daylight) - this is an input field where I can enter the value of the LUX and the sensor will operate once it reaches that value).

DP 103- Number Time in second on 10 -600
DP 104- Select(ENUM) Mode 0;1;2 / Auto;Override;Test
DP 106- Select(ENUM) Sensitivity 0;1;2 / Low;Medium;High
DP 107- Switch - Disables the motion sensor
DP 108- Binary Sensor - ON Motion (ON value = True) (OFF value = False)

I have it right now happily running via LocalTuya wiht the above DPs, but if there is a chance to move away from Tuya 100% I rather do that.

So here is my question - can someone help me with the ESPHome yaml for the above DPs? (don’t worry about the wifi, OTA, etc I have all that covered). I am not sure how to get above functionality (and DPs) in ESPHome.

Many thanks.