I took the code from the Github link and created a customer DH in the IDE adding the "executeCommandsLocally: true, runLocally: true " to the definition part. Saved, published and changed one of my 2019 ST sockets to use the new handler. Left it 10 mins it’s now listed as executing locally. I’m at work right now so doing all this remotely but the socket is connected to a lamp so turned it on using the ST app and got the expected readings for power consumption etc so i think it might be working as desired.