linuxha / node-red-contrib-mytimeout

A dynamic count down timer for node-red
MIT License
10 stars 10 forks source link

Time remaining (Output 2) is not in msg.payload #12

Closed linuxha closed 5 years ago

linuxha commented 5 years ago

Output 2 contains:

msg = {
    "payload": {
        "payload":30,
        "state":1,
        "flag":"ticks > 0"
    }
}

should be:

msg = {
    "payload":30,
    "state":1,
    "flag":"ticks > 0"
}
linuxha commented 5 years ago

This has been updated in version 3.0.0 that has just been released. The Readme also reflect this change as it could cause some flows to break.