node-red-contrib-home-assistant
                                
                                 node-red-contrib-home-assistant copied to clipboard
                                
                                    node-red-contrib-home-assistant copied to clipboard
                            
                            
                            
                        Entity could not be found in cache for entity_id:
Hello,
After full deploying or restart of NR or full system i get this error - Entity could not be found in cache for entity_id.
Here is the screenshot.

I understand that the node starts to work before NR connected to HA server. But it it the greatest BUG i have ever seen! In this case NR and HA become unusable.
Simple example from screenshot: on the restart of system (because of turning off electricity or other reason) i need to listen to light sensor and set correct time of day and then use this time of day in all my other flows. I do not get it or get incorrect one and all other flows uses this incorrect value. What does it mean i think you understand... My HA becomes unsusable.
Last NR 7.0 HA 0.112.4 in Docker But it does not matter, i see this error already more the half a year on different versions.
This project is abandoned. You should switch over to the maintained web socket version:
https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/
Thanks a lot, i made it. Now it connects to HA not in 5 sec, but in 0.5 But the problem stays the same. Please reopen issue.
Thanks!