From cae49e92608c4a431076cc8ee47e114b5a10e022 Mon Sep 17 00:00:00 2001 From: Eric Bodden Date: Wed, 8 Jan 2025 17:38:25 +0100 Subject: [PATCH] Minor fix 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 158a21ef035..89d4fb4b463 100644 --- a/bundles/org.openhab.automation.jsscripting/README.md +++ b/bundles/org.openhab.automation.jsscripting/README.md @@ -802,7 +802,7 @@ actions.notificationBuilder('Hello World!').logOnly() .withIcon('f7:bell_fill').withTag('important').send(); // Sends a notification about a temperature change ... -actions.notificationBuilder(str).withIcon('oh:temperature').withTag('Temperature change').withReferenceId('livingRoom').send(); +actions.notificationBuilder('new temperature: xyz').withIcon('oh:temperature').withTag('Temperature change').withReferenceId('livingRoom').send(); // ... and hides it again after 10 minutes setTimeout(() => { actions.notificationBuilder().hide().withReferenceId('livingRoom').send();