Node-RED control-device node throw an error

It didn’t get any better.
I’ll test it some more. I am attaching the magazine. The relays are the same…
1709919522674.tar.zip (4,4 МБ)