From 858276a3b5481336ec5893ea54efebf3ef62c69b Mon Sep 17 00:00:00 2001 From: Fabrice Bellamy Date: Sun, 25 Jan 2026 00:19:39 +0100 Subject: [PATCH] do not display the content of LED Configuration card when in fido fallback mode --- src/lib/views/homeView.svelte | 63 +++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 25 deletions(-) diff --git a/src/lib/views/homeView.svelte b/src/lib/views/homeView.svelte index 46e44cc..95c4c1c 100644 --- a/src/lib/views/homeView.svelte +++ b/src/lib/views/homeView.svelte @@ -135,32 +135,45 @@ -
- LED GPIO Pin - GPIO {device.config.ledGpio} -
-
- LED Brightness - {device.config.ledBrightness} -
-
- Presence Touch Timeout - {device.config.touchTimeout}s -
-
- LED Dimmable - - {device.config.ledDimmable ? "Yes" : "No"} - -
-
- LED Steady Mode - - {device.config.ledSteady ? "On" : "Off"} - -
+ +

+ Information is not available in Fido only communication mode. +

+ + {:else} +
+ LED GPIO Pin + GPIO {device.config.ledGpio} +
+
+ LED Brightness + {device.config.ledBrightness} +
+
+ Presence Touch Timeout + {device.config.touchTimeout}s +
+
+ LED Dimmable + + {device.config.ledDimmable ? "Yes" : "No"} + +
+
+ LED Steady Mode + + {device.config.ledSteady ? "On" : "Off"} + +
+ {/if}