DHT Run Locally and Execute Commands Locally - What is the difference?

I have recently found out that each device handler has 2 local parameters. The first is run locally and the other is execute commands locally. Does anyone know what the differences are between those 2 parameters?

Thanks in advance.

They are only for specific stock devices handlers which are they compiled to binary format and pushed as part of the firmware to the hub.

Custom device handlers should mark these as false or exclude them all together ideally because they run in the cloud.

Thanks a lot but to which parameter are you referring to?