5.5 KiB
title | component | label | description | source | prev |
---|---|---|---|---|---|
oh-slider - Slider | oh-slider | Slider | Slider control, allows to pick a number value on a scale | https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.ui/doc/components/oh-slider.md | /docs/ui/components/ |
oh-slider - Slider
Slider control, allows to pick a number value on a scale
By default, the slider control will use the display state of the Item, if available.
If the display state is not available, it will use the raw state of the Item.
If you want to always use the raw state, set the ignoreDisplayState
property to true
.
::: tip Note
If you have problems with the slider resetting to a different value than the one you set, it is likely that the display state of the Item does not allow enough decimals for the step size of the slider.
In that case, make sure that either the state description of the Item is set to the same number of decimals than the step size (so that the display state has the same precision as the slider),
or that the ignoreDisplayState
property is set to true
.
:::
Configuration
General
user.name
, user[0].address[1].street
, [0]
, [0].label
. The inner property and its parent hierarchy will be created if missing.