OH3 stepper card - can not set number item

Hi all,

I try to create a basic alarm clock in OH 3 and created a number item to enter the hour of the alarm time. I set in the meta data that I would like to use a stepper card to set the value. But I can not change the value using the stepper - the value always remains “NaN”. I assume a beginners mistake … any hint?

It needs a value to begin with,before adding/subtracting.

You might use a “bootstrap rule” to update your Item with some state (0?) at system start if it is currently NULL.

1 Like

Thank you, that did the trick :slight_smile:

2 Likes