Limit values

Hi,

I’m aiming for something similar than the second example here, but using HABPanel. In that example the allowed values of the clock items are limited in the site map, is there a similar way of doing it in HABPanel? My idea is to have something in the ways of @ysc example of the roller shutter, but with time. The only thing that I can think of how to do it, is with ng-if (if hour is 23, then button press rolls it over to 0, else button press is +1), but is there a better way?