diff --git a/bundles/org.openhab.ui/doc/components/oh-toggle-card.md b/bundles/org.openhab.ui/doc/components/oh-toggle-card.md index ff55acdb1..a69381273 100644 --- a/bundles/org.openhab.ui/doc/components/oh-toggle-card.md +++ b/bundles/org.openhab.ui/doc/components/oh-toggle-card.md @@ -9,7 +9,7 @@ source: https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.u # oh-toggle-card - Toggle Card -Display a toggle swtich in a card to send ON/OFF commands +Display a toggle switch in a card to send ON/OFF commands ## Configuration @@ -50,6 +50,6 @@ Parameters of the card - `color` TEXT _Color_ - Color of the control + Color of the control (supported values: red, green, blue, pink, yellow, orange, purple, deeppurple, lightblue, teal, lime, deeporange, gray, white, black) diff --git a/bundles/org.openhab.ui/doc/components/oh-toggle-item.md b/bundles/org.openhab.ui/doc/components/oh-toggle-item.md index 0b42c92b5..214cf988b 100644 --- a/bundles/org.openhab.ui/doc/components/oh-toggle-item.md +++ b/bundles/org.openhab.ui/doc/components/oh-toggle-item.md @@ -54,6 +54,6 @@ General settings of the list item - `color` TEXT _Color_ - Color of the control + Color of the control (supported values: red, green, blue, pink, yellow, orange, purple, deeppurple, lightblue, teal, lime, deeporange, gray, white, black) diff --git a/bundles/org.openhab.ui/doc/components/oh-toggle.md b/bundles/org.openhab.ui/doc/components/oh-toggle.md index 3edb6d17f..b0aa69d4a 100644 --- a/bundles/org.openhab.ui/doc/components/oh-toggle.md +++ b/bundles/org.openhab.ui/doc/components/oh-toggle.md @@ -22,7 +22,7 @@ Toggle control, allows to switch on or off - `color` TEXT _Color_ - Color of the control + Color of the control (supported values: red, green, blue, pink, yellow, orange, purple, deeppurple, lightblue, teal, lime, deeporange, gray, white, black) - `variable` TEXT _Variable_ diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/toggle.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/toggle.js index 4da4b05ad..cb9792a62 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/toggle.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/toggle.js @@ -2,5 +2,5 @@ import { pi, pt } from '../helpers.js' export default () => [ pi('item', 'Item', 'Item to control'), - pt('color', 'Color', 'Color of the control') + pt('color', 'Color', 'Color of the control (supported values: red, green, blue, pink, yellow, orange, purple, deeppurple, lightblue, teal, lime, deeporange, gray, white, black)') ]