--- title: oh-toggle - Toggle component: oh-toggle label: Toggle description: Toggle control, allows to switch on or off source: https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.ui/doc/components/oh-toggle.md prev: /docs/ui/components/ --- # oh-toggle - Toggle [[toc]] Toggle control, allows to switch on or off ## Configuration ### General
Item to control Color of the control (supported values: red, green, blue, pink, yellow, orange, purple, deeppurple, lightblue, teal, lime, deeporange, gray, white, black) Name of the variable to set on input change