I'm running NR in Home Assistant. I'm trying to set up a flow that will check if we're home at a specific time during the day, and if we are, turn on a light. I've configured current state nodes to check the locations of our phones, but they keep throwing an error whenever I try to run the flow. The only debug message I've been able to get from it is "Entity could not be found in cache." The googling I've done suggests that the flow is running before Node Red connects to the Home Assistant server, however I have the "delay connection attempts" option set in HA's server settings, so I'm not sure why it's giving me this. I even tried manually setting a delay node in the flow as well, and also turning off the "delay connection" option in the HA server while keeping the delay node. So I've been fiddling with it for a while now with no joy-- does anyone know how to fix this error?
I'm not a coder by any means, and pretty new to node red in general.