Jopyth / MMM-Buttons

This module can be used to to connect buttons to your Magic Mirror²

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set time off notification?

Ulrick124 opened this issue · comments

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.