I am working on a smartapp and the last thing I am adding is the ability to choose when it runs. I am trying to mimic the time selection in the lighting app. I have the sunrise / sunset with offset done. Now I am trying to add a time selection that pops up the clock.
I can’t find any docs on how to pop up that clock to select the time from. I swear a few days ago I cut and paste a snippet that did that while testing things but now I don’t seem to find it. I know Groovy supports a timepicker but I am not seeing that in smartthings docs or examples either.
Any tips on where to look or anyone know the input type for that? I have already tried “time” but it just asks you to enter the values.
This is the input code:
input ("StartTime", type: "time", title: "Enter Start Time:" , required: true )