mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 07:02:02 +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
730d32c3c9
commit
f9f5b6af2d
@ -801,7 +801,7 @@ actions.notificationBuilder('Hello World!').logOnly().send();
|
||||
actions.notificationBuilder('Hello World!').logOnly()
|
||||
.withIcon('f7:bell_fill').withTag('important').send();
|
||||
|
||||
//sends a notification about a temperature change...
|
||||
// Sends a notification about a temperature change ...
|
||||
actions.notificationBuilder(str).withIcon("oh:temperature").withTag("Temperature change").withReferenceId("living room").send();
|
||||
//and clears it again after 10 minutes
|
||||
setTimeout(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user