2.1 KiB
title | component | label | description | source |
---|---|---|---|---|
oh-knob-card - Knob Card | oh-knob-card | Knob Card | Display a knob in a card to visualize and control a quantifiable item | https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.ui/doc/components/oh-knob-card.md |
oh-knob-card - Knob Card
Display a knob in a card to visualize and control a quantifiable item
Configuration
Card
Parameters of the card
-
title
TEXT TitleTitle of the card
-
footer
TEXT Footer textFooter of the card
-
noBorder
BOOLEAN No BorderDo not render the card border
-
noShadow
BOOLEAN No ShadowDo not render a shadow effect to the card
-
outline
BOOLEAN OutlineShow the card outline
Knob
Parameters are passed to the underlying Knob control
-
item
TEXT ItemItem to control
-
min
INTEGER MinMinimum value (default 0)
-
max
INTEGER MaxMaximum value (default 100)
-
stepSize
DECIMAL StepMinimum interval between values (default 1)
-
disabled
BOOLEAN DisabledDisable the slider (usually set via an expression since the value will not be displayed when disabled)
-
size
INTEGER SizeVisual size of the control in px (or % if responsive is true)
-
primaryColor
TEXT Primary ColorColor of the value arc (HTML value, default #409eff)
-
secondaryColor
TEXT Secondary ColorColor of the rest of the control (HTML value, default #dcdfe6)
-
textColor
TEXT Text ColorColor of the value text (HTML value, default #000000)
-
strokeWidth
TEXT Stroke WidthThickness of the arcs, default 17
-
responsive
BOOLEAN ResponsiveSize the control using percentages instead of pixels