From 7b49fd95a0b41bf7cced8853ff1dc06b0f6fb097 Mon Sep 17 00:00:00 2001 From: mueller-ma Date: Wed, 7 Aug 2024 18:43:00 +0200 Subject: [PATCH] [Sitemaps] Remove parameter `sendFrequency` This parameter has been used in Classic UI which isn't available anymore. I also checked the Android app and it isn't used there. Signed-off-by: mueller-ma --- ui/sitemaps.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ui/sitemaps.md b/ui/sitemaps.md index aad825a5de..503ee09c82 100644 --- a/ui/sitemaps.md +++ b/ui/sitemaps.md @@ -425,16 +425,13 @@ Setpoint item=KI_Temperature label="Kitchen [%.1f °C]" minValue=4.5 maxValue=30 ### Element Type 'Slider' ```java -Slider item= [label=""] [icon=] [staticIcon=] [sendFrequency="frequency"] [switchSupport] [minValue=] [maxValue=] [step=] [releaseOnly] +Slider item= [label=""] [icon=] [staticIcon=] [switchSupport] [minValue=] [maxValue=] [step=] [releaseOnly] ``` This type presents a value as a user-adjustable control which slides from left (0) to right (100). -- `sendFrequency` is used to distinguish between long and short button presses in the classic (web) frontend. - This parameter defines the interval in milliseconds for sending increase/decrease requests. - - `switchSupport` is a parameter without an assignment. - - Android app: If specified, a short press on the item row (except the slider itself) switches the item "on" or "off". + - Android app: If specified, a short press on the item row (except the slider itself) switches the item `ON` or `OFF`. - This parameter has no effect in other UIs. - `minValue` (defaults to 0) and `maxValue` (defaults to 100) limit the possible range of the value (both included in the range). @@ -452,16 +449,13 @@ Slider item=KI_Temperature label="Kitchen" ### Element Type 'Colorpicker' ```java -Colorpicker item= [label=""] [icon=] [staticIcon=] [sendFrequency=] +Colorpicker item= [label=""] [icon=] [staticIcon=] ``` 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. 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). 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. -- `sendFrequency` is used to distinguish between long and short button presses in the classic (web) frontend. - This parameter defines the interval in milliseconds for sending increase/decrease requests. - **Example:** ```java