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

# oh-colorpicker-item - Color Picker List Item

Display a color picker 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)

# Color picker

# item Item TEXT item

Item to control

# modules Modules TEXT

Modules to display

Options:
wheel
Color wheel
sb-spectrum
Saturation/brightness spectrum
hue-slider
Hue slider
hs-spectrum
Hue/saturation spectrum
brightness-slider
Brightness spectrum
rgb-sliders
RGB sliders
hsb-sliders
HSB sliders
rgb-bars
RGB bars
palette
Palette
current-color
Current color
initial-current-colors
Initial current colors

# defaultColor Default Color TEXT

Color (e.g. [0,0,0] for black) to use for the color picker if state does not contain a color (e.g. because it is NULL)