openhab-docs/_addons_uis/org.openhab.ui/doc/components/oh-toggle-item.md

4.1 KiB

title component label description source prev
oh-toggle-item - Toggle List Item oh-toggle-item Toggle List Item Display a toggle switch in a list https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.ui/doc/components/oh-toggle-item.md /docs/ui/components/

oh-toggle-item - Toggle List Item

toc

Display a toggle switch in a list

Configuration

List Item

General settings of the list item Title of the item Subtitle of the item Text to display on the opposite side of the item (set either this or a badge) 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) Not applicable to openHAB icons 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

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