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

# oh-slider-item - Slider List Item

Display a slider control in a list

# Configuration

# List Item

General settings of the list item

# title Title TEXT

Title of the item

# subtitle Subtitle TEXT

Subtitle of the item

# after After TEXT

Text to display on the opposite side of the item (set either this or a badge)

# icon Icon TEXT

Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)

# iconColor Icon Color TEXT

Not applicable to openHAB icons

# iconUseState Icon depends on state BOOLEAN

Use the state of the Item to get a dynamic icon (enabled by default for Contact, Dimmer, Rollershutter & Switch Item types) (for openHAB icons only)

# Slider

# item Item TEXT item

Item to control

# min Min DECIMAL

Minimum value

# max Max DECIMAL

Maximum value

# step Step DECIMAL

Minimum interval between values

# vertical Vertical DECIMAL

Display the slider vertically

# label Display Label BOOLEAN

Display a label above the slider knob while sliding

# scale Display Scale BOOLEAN

Display a scale on the slider

# scaleSteps Scale steps INTEGER

Number of (major) scale markers

# scaleSubSteps Scale sub-steps INTEGER

Number of scale minor markers between each major marker

# unit Unit TEXT

Unit for the command sent and also append to the label while dragging the cursor, leave empty to use Item's unit

# ignoreDisplayState Ignore Display State BOOLEAN

Ignore the display state if available and always use the raw state.

# releaseOnly Send command only on release BOOLEAN

If enabled, no commands are sent during sliding

# commandInterval Command Interval INTEGER

Time to wait between subsequent commands in ms (default 200)

# delayStateDisplay Delay State Display INTEGER

Time to wait before switching from displaying user input to displaying item state in ms (default 2000)