Number of concurrent open connectioins to Home /assistant

HI,

Bit of a newbie question.

I can see on the node-red-log that there are a number of concurrent connections to Home Assistant

I'm guessing that each 'state node' opens up a connection and i've got a truck load of those.

Is there a better way of getting state, running HA stuff, etc without this one to one relationship?

Thank you

Yes, probably, Not alot of people here use HA, might be better to ask this on the HA forum. But you may be able to use one state node and have it receive all state changes, then in node-red filter/route the different device state changes.

Thats a great idea E1cid, thank you!