List available choices in toggle color parameter description (#918)
Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>pull/921/head
parent
8e0b392722
commit
dc33378062
|
@ -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 -->
|
||||
|
|
|
@ -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 -->
|
||||
|
|
|
@ -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_
|
||||
|
||||
|
|
|
@ -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)')
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue