From 8ea76db6939380146076b0b440d976faa1b1ffb6 Mon Sep 17 00:00:00 2001 From: Michael Aschenborn Date: Tue, 21 Dec 2021 18:39:32 +0100 Subject: [PATCH] Update README.md (#11836) missing ) --- 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 ca04165e7..6ce4b4f2f 100644 --- a/bundles/org.openhab.automation.jsscripting/README.md +++ b/bundles/org.openhab.automation.jsscripting/README.md @@ -579,7 +579,7 @@ Additionally all the above triggers have the following functions: //Basic rule, when the BedroomLight1 is changed, run a custom function rules.when().item('BedroomLight1').changed().then(e => { console.log("BedroomLight1 state", e.newState) -}.build(); +}).build(); //turn on the kitchen light at SUNSET rules.when().timeOfDay("SUNSET").then().sendOn().toItem("KitchenLight").build("Sunset Rule","turn on the kitchen light