mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Update bundles/org.openhab.automation.jsscripting/README.md
Co-authored-by: Florian Hotze <dev@florianhotze.com> Signed-off-by: Eric Bodden <eric.bodden@upb.de>
This commit is contained in:
parent
f9f5b6af2d
commit
4b97657e99
@ -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);
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user