2.8 KiB
2.8 KiB
title | component | label | description | source | prev |
---|---|---|---|---|---|
oh-toggle - Toggle | oh-toggle | Toggle | Toggle control, allows to switch on or off | https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.ui/doc/components/oh-toggle.md | /docs/ui/components/ |
oh-toggle - Toggle
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
Consider the variable value is an object and set the corresponding deep property within that object using a key syntax. Examples:
user.name
, user[0].address[1].street
, [0]
, [0].label
. The inner property and its parent hierarchy will be created if missing.