I have a HA group that contains some input booleans that represent presence of different people. I use it quite a bit throughout my NodeRED flows and have never had an issue, until now.
Suddenly one specific node keeps returning “Entity could not be found in cache for entity_id: group.presence” errors in the debug log. The node in question is the one circled but its a direct copy/paste of the node above, which is working fine. The only difference is we use the If not true output on this one, rather than the If true output.
It was working fine, but seemingly has just stopped. I have deleted and recreated the node from scratch and by copying/pasting the node from above.
I know this is old, but I thought I would add my use case.
I have HA in its own docker container and Node with the relevant extensions in another. I get this error if the NodeRed container comes up and tries to connect before HA. And, it doesn’t clear itself (it was essentially down 24 hours before I realized).
There needs to be a mechanism to catch the error and force a restart. There might be. I need to go and look through the documents.