@ranova - As I noted above, wiith my (free) DTH you can current set the default hold duration to either “Until next…” (e.g. temporary) or “Indefinitely” (e.g. permanent) for any holds set using the DTH UI or programmatically.
An upcoming release will add selection of 2-hour, 4-hour or “N-hour” holds. At that point, the DTH will also default to use whatever is set in the thermostat, with the option to override within the DTH (ie. thermostat can be configured to use 2hourHold by default, while ST DTH can be configured to use “Until next program”…).
To be clear, I am in no way trying to create a freeware equivalent of Yves’ work - I am simply trying to create a better freeware DTH implementation than that provided by SmartThings, following (more or less) the “less is more” model of simplification. In this case, adding support/flexibility for mode Hold duration options seems a logical extension.
If you need the functionality that Yves provides immediately, then you can certainly purchase his fine work; if you can wait, I’ll get the features supported “soon”.