I’m new to Node-RED but love it so far. Here’s the problem that I’m running into. I’m trying to use a “current state” node (api-current-state) to check the current state of binary.sensor #2 upon receiving a trigger node output from binary sensor #1 and cannot seem to configure the “current state” node to get it to work. I am consistently getting the following error:
Error: Cannot find module ‘…/…/schemas’
I’m running Hass.io v0.72.1 with Node-RED v0.18.7 add-on installed.
I’ve looked all over for instructions on how to configure the “current state” node and can’t find anything helpful. Any guidance, direction, or instruction on this issue is greatly appreciated!
Well, after days of trying to make this work it suddenly started working. But I do appreciate your response. As far as I know, the “current state” node doesn’t have any JSON associated with it. Please educate me for future reference. I want to learn all of the ins and outs of Node-RED!
Yes, the current state doesn’t have a place to put JSON in it, what I was asking was for you to post the JSON of your flow. To do that select all the nodes and connectors, then click the hamburger button up top on the right and choose export. When you share that it makes it way easier for people to see what you are doing and help you.
Glad you got it working though and have fun with Node-RED. It’s a great way to handle automations for HA.