Skip to content

oh-slider-card - Slider Card ​

Display a slider in a card to control an item

Configuration ​

Card ​

Parameters of the card

titleTitleTEXT

Title of the card

Footer of the card

noBorderNo BorderBOOLEAN

Do not render the card border

noShadowNo ShadowBOOLEAN

Do not render a shadow effect to the card

outlineOutlineBOOLEAN

Show the card outline

Slider ​

itemItemTEXTitem

Item to control

minMinDECIMAL

Minimum value

maxMaxDECIMAL

Maximum value

stepStepDECIMAL

Minimum interval between values

verticalVerticalBOOLEAN

Display the slider vertically

labelDisplay LabelBOOLEAN

Display a label above the slider knob while sliding

scaleDisplay ScaleBOOLEAN

Display a scale on the slider

scaleStepsScale stepsINTEGER

Number of (major) scale markers

scaleSubStepsScale sub-stepsINTEGER

Number of scale minor markers between each major marker

unitUnitTEXT

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

ignoreDisplayStateIgnore Display StateBOOLEAN

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

releaseOnlySend command only on releaseBOOLEAN

If enabled, no commands are sent during sliding

commandIntervalCommand IntervalINTEGER

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

delayStateDisplayDelay State DisplayINTEGER

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