Binary_sensor: vs


i want to change the Scan interval for Xiaomi motion sensor,

i found this topic:

and this 2 components:


I have some questions :

1- What the difference ?
2- i Have Mija gateway and some of my sensors are mija and some aqara, what i need to use?
3- anyone improve the scan interval from the Xiaomi sensors?