From 25166bc25e39b30a78e3c981efd4ca23f8434a4f Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sat, 8 Oct 2022 17:12:45 +0300 Subject: [PATCH] updated gpio --- docs/gpio.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/gpio.md b/docs/gpio.md index abd08cf1..7fef41cc 100644 --- a/docs/gpio.md +++ b/docs/gpio.md @@ -168,6 +168,16 @@ Some rules and customization options: * To change title of the button, write some its name like `"relay1|My cool relay"`. * Buttons and switches can request confirmation on acting. To do this write its name like `"relay1|confirm|My cool relay"`. The third argument with a title is required in this case. +Also you can place some leds in the menu title using the similar syntax: + +```yaml +kvmd + gpio: + view: + header: + title: ["#Test1:", led1, "Test2:", led2] +``` + ----- ## Hardware modules and pseudo-drivers