This page is part of archived documentation for openHAB 4.0. Go to the current stable version

# oh-stepper - Stepper

Stepper control, allows to input a number or decrement/increment it using buttons

# Configuration

# General

# item Item TEXT item

Item to control

# min Min DECIMAL

Minimum value

# max Max DECIMAL

Maximum value

# step Step DECIMAL

Minimum interval between values

# offset Offset DECIMAL

Offset to be applied to the Item's state (e.g. Item state = 2; offset = 20; stepper behaves as Item state would be 22)

# buttonsOnly Buttons Only BOOLEAN

Display the buttons without the value in the middle

# enableInput Enable Input Field BOOLEAN

Enables the input field between the buttons. Note that this might not work when min/max is set.

# small Small BOOLEAN

Smaller size

# large Large BOOLEAN

Larger size

# fill Fill BOOLEAN

Fill the buttons with the primary color

# raised Raised BOOLEAN

Display the buttons with a raised style

# round Round BOOLEAN

Display the buttons with a rounded style

# autorepeat Auto-repeat BOOLEAN

Continue to increase/decrease the value while the buttons keep being pressed

# autorepeatDynamic Dynamic Auto-repeat BOOLEAN

Speed up the increase/decrease over time while the buttons keep being pressed

# variable Variable TEXT

Name of the variable to set on input change

# variableKey Variable Key TEXT

Consider the variable value is an object and set the corresponding deep property within that object using a key syntax. Examples: user.name, user[0].address[1].street, [0], [0].label. The inner property and its parent hierarchy will be created if missing.