Describe the bug
A clear and concise description of what the bug is.
I think there might be an error in the code on line 293:
if (new Date(EskomSePushInfo.calc.next.start).getUTCDay() !== now.getUTCDate) {
It should be:
if (new Date(EskomSePushInfo.calc.next.start).getUTCDay() !== now.getUTCDate()) {
To Reproduce
Steps to reproduce the behavior:
Using node 'eskomsepush'
Click on '....'
See error
I've seen issues where the status colour were not updated correctly after I switched between "test" and "active" modes.
Expected behavior
A clear and concise description of what you expected to happen.
Status colour should be updated to green if all working and switched from test to active.
Screenshots
If applicable, add screenshots to help explain your problem.
Flow
If applicable, add a flow to help explain your problem.
Software (please complete the following information):
node-red-contrib-eskomsepush version: v0.0.15
Additional context
Add any other context about the problem here.
Describe the bug A clear and concise description of what the bug is. I think there might be an error in the code on line 293:
if (new Date(EskomSePushInfo.calc.next.start).getUTCDay() !== now.getUTCDate) {
It should be:
if (new Date(EskomSePushInfo.calc.next.start).getUTCDay() !== now.getUTCDate()) {
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen. Status colour should be updated to green if all working and switched from test to active.
Screenshots If applicable, add screenshots to help explain your problem.
Flow If applicable, add a flow to help explain your problem.
Software (please complete the following information):
Additional context Add any other context about the problem here.