I am trying to program a "known to work" switch to turn off at a specific time

Brand and model of the switch?

And if it is using an edge Driver, which one?

You can find this information from the API Browser plus if you need it:

SmartThings API Browser+ ... Now Available to All