From ec4312e2f62a7a00171b50b873f0635083ac141a Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Mon, 27 Dec 2021 15:41:41 -0600 Subject: [PATCH] Update Reference.md --- docs/Reference.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/Reference.md b/docs/Reference.md index 178885a..397d95d 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -33,6 +33,11 @@ The following **optional** `homeSpan` methods override various HomeSpan initiali * `void setStatusPin(uint8_t pin)` * sets the ESP32 pin to use for the HomeSpan Status LED. If not specified, HomeSpan will assume there is no Status LED + +* `void setStatusAutoOff(uint16_t duration)` + * sets Status LED to automatically turn off after *duration* seconds + * Status LED will automatically turn on, and duration timer will be reset, whenever HomeSpan activates a new blinking pattern + * if *duration* is set to zero, auto-off is disabled (Status LED will remain on indefinitely) * `int getStatusPin()` * returns the pin number of the Status LED as set by `setStatusPin(pin)`, or -1 if no pin has been set