Jopyth / MMM-Buttons

This module can be used to to connect buttons to your Magic Mirror²
41 stars 10 forks source link

How to set time off notification? #9

Open Ulrick124 opened 4 years ago

Ulrick124 commented 4 years ago

The notification pup-up and do not disappear. I want to set time the notification appear and disappear. I try to set timer: "10000" to visible notification in 10s. But the config.js file was not has affected. Here the code:

longPress: { title: "Power off", message: "Keep pressed for 3 seconds to shut down", imageFA: "power-off", notification: "REMOTE_ACTION", payload: {action: "REBOOT"}, timer: "10000", },

PLease tell me how to set that time.