I am developing an 4-state switch node with integrated dashboard 2 widget.
After deploy it seems to me that I find 2 instances of the same node, with the same nodeId communicating with the widget.
There is a function updating the widget periodically. After deploy the frequency is doubled, so I assume, I have two instances.
What do I do wrong to have two instances after deploy?
How can I debug this problem?