mirror of
https://github.com/Rushilwiz/MMM-MinimalCOVID19.git
synced 2025-04-09 22:10:19 -04:00
more testing
This commit is contained in:
parent
1ae11745ad
commit
8f2a303f55
|
@ -4,5 +4,11 @@ module.exports = NodeHelper.create({
|
||||||
start: function() {
|
start: function() {
|
||||||
this.countDown = 10000000
|
this.countDown = 10000000
|
||||||
},
|
},
|
||||||
socketNotificationReceived: function(notification, payload) {},
|
socketNotificationReceived: function(notification, payload) {
|
||||||
|
switch(notification) {
|
||||||
|
case "DO_YOUR_JOB":
|
||||||
|
this.sendSocketNotification("I_DID", (this.countDown - payload))
|
||||||
|
break
|
||||||
|
}
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user