node-red-contrib-home-assistant icon indicating copy to clipboard operation
node-red-contrib-home-assistant copied to clipboard

Entity could not be found in cache for entity_id:

Open RestOp opened this issue 5 years ago • 2 comments

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. image

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.

RestOp avatar Jul 22 '20 13:07 RestOp

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/

walthowd avatar Jul 22 '20 14:07 walthowd

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!

RestOp avatar Jul 22 '20 18:07 RestOp