From 4b97657e99cfa90339d217f0daf03a9a5a08c71d Mon Sep 17 00:00:00 2001 From: Eric Bodden Date: Wed, 8 Jan 2025 08:12:46 +0100 Subject: [PATCH] Update bundles/org.openhab.automation.jsscripting/README.md Co-authored-by: Florian Hotze Signed-off-by: Eric Bodden --- bundles/org.openhab.automation.jsscripting/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.automation.jsscripting/README.md b/bundles/org.openhab.automation.jsscripting/README.md index 8d082d99a9d..90a1ba07c01 100644 --- a/bundles/org.openhab.automation.jsscripting/README.md +++ b/bundles/org.openhab.automation.jsscripting/README.md @@ -805,7 +805,7 @@ actions.notificationBuilder('Hello World!').logOnly() actions.notificationBuilder(str).withIcon("oh:temperature").withTag("Temperature change").withReferenceId("living room").send(); //and clears it again after 10 minutes setTimeout(() => { - actions.notificationBuilder().withReferenceId("living room").hide().send(); + actions.notificationBuilder().hide().withReferenceId("living room").send(); }, 10 * 60 * 1000); ```