Adding Presets to a Custom Command


#1

Hi All,

I’ve hacked up some other DTHs to get some specific functionality before, but I hit a roadblock exposing my knowledge gap.

I’m editing a DTH to pass another parameter (duration) along with the selected color from “SetColor”.

With webcore, the SetColor (a device type command) has a set of presets I like to use, when I create the custom command, I don’t have the presets.

I was wondering what I can add to the custom command to enable that preset capability.