Skip to content

oh-toggle-item - Toggle List Item ​

Display a toggle switch in a list

Configuration ​

List Item ​

General settings of the list item

titleTitleTEXT

Title of the item

subtitleSubtitleTEXT

Subtitle of the item

afterAfterTEXT

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

iconIconTEXT

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)

iconColorIcon ColorTEXT

Not applicable to openHAB icons

iconUseStateIcon depends on stateBOOLEAN

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)

Toggle ​

itemItemTEXTitem

Item to control

colorColorTEXT

Color of the control (supported values: red, green, blue, pink, yellow, orange, purple, deeppurple, lightblue, teal, lime, deeporange, gray, white, black)