@@ -148,6 +148,7 @@ The following element types may be used in a Sitemap definition file.
148
148
| [ Button] ( #element-type-button ) | Renders a button inside a Buttongrid that is used to send commands to a given Item. |
149
149
| [ Chart] ( #element-type-chart ) | Adds a time-series chart object for [ persisted] ( persistence.html ) data. |
150
150
| [ Colorpicker] ( #element-type-colorpicker ) | Allows the user to choose a color from a color wheel. |
151
+ | [ Colortemperaturepicker] ( #element-type-colortemperaturepicker ) | Allows the user to choose a color temperature from a white color gradient. |
151
152
| [ Default] ( #element-type-default ) | Renders an Item in the default UI representation specified by the type of the given Item. |
152
153
| [ Frame] ( #element-type-frame ) | Establishes an area containing various other Sitemap elements. |
153
154
| [ Group] ( #element-type-group ) | Concentrates all elements of a given group in a nested block. |
@@ -454,7 +455,9 @@ Colorpicker item=<itemname> [label="<labelname>"] [icon=<iconref>] [staticIcon=<
454
455
455
456
This element is a combined control for something like a rgb or rgbw light where you can adjust brightness as well es the color hue.
456
457
The down-button decreases brightness to zero and switches the light off. The up-button sets brightness to full but keeps the previous color (hue).
457
- The middle button opens an overlay to finetune your color. A color wheel let you pick the hue and a slider allows to set the brightness.
458
+ The middle button opens an overlay to fine-tune your color when you click on it.
459
+ In the overlay, a color wheel lets you pick the hue and a slider allows to set the brightness.
460
+ The content of this middle button can also show what is the current color.
458
461
459
462
** Example:**
460
463
@@ -464,6 +467,27 @@ Colorpicker item=LR_LEDLight_Color label="LED Light Color" staticIcon=colorwheel
464
467
465
468
![ Presentation of the Colorpicker element in BasicUI] ( images/sitemap_demo_colorpicker.png )
466
469
470
+ ### Element Type 'Colortemperaturepicker'
471
+
472
+ ``` java
473
+ Colortemperaturepicker item= < itemname> [label= " <labelname>" ] [icon= < iconref> ] [staticIcon= < iconref> ]
474
+ ```
475
+
476
+ This element is a control for something like a rgb or rgbw light where you can adjust the color temperature.
477
+ The button opens an overlay to fine-tune your color temperature when you click on it.
478
+ In the overlay, a white color gradient lets you pick and set the color temperature.
479
+ The content of this button can also show what is the current color temperature.
480
+
481
+ - ` minValue ` and ` maxValue ` limit the possible range of the value (both included in the range).
482
+
483
+ ** Example:**
484
+
485
+ ``` java
486
+ Colortemperaturepicker item= LR_LEDLight_ColorTemp label= " LED Light Color Temperature" staticIcon= colorwheel
487
+ ```
488
+
489
+ ![ Presentation of the Colortemperaturepicker element in BasicUI] ( images/sitemap_demo_colortemperaturepicker.png )
490
+
467
491
### Element Type 'Input'
468
492
469
493
``` java
0 commit comments