List available choices in toggle color parameter description (#918)

Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
pull/921/head
Eiko Wagenknecht 2021-02-22 09:37:09 +01:00 committed by GitHub
parent 8e0b392722
commit dc33378062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ source: https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.u
# oh-toggle-card - Toggle Card
<!-- GENERATED componentDescription -->
Display a toggle swtich in a card to send ON/OFF commands
Display a toggle switch in a card to send ON/OFF commands
<!-- GENERATED /componentDescription -->
## Configuration
@ -50,6 +50,6 @@ Parameters of the card
- `color` <small>TEXT</small> _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)
<!-- GENERATED /props -->

View File

@ -54,6 +54,6 @@ General settings of the list item
- `color` <small>TEXT</small> _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)
<!-- GENERATED /props -->

View File

@ -22,7 +22,7 @@ Toggle control, allows to switch on or off
- `color` <small>TEXT</small> _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` <small>TEXT</small> _Variable_

View File

@ -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)')
]