Entity not found error

I’m trying to use a luminance sensor to set an input_select in a flow.

In my debug window I get:

"Entity could not be found in cache for entity_id: sensor.lounge_tri_sensor_luminance"

But the entity is there and returning values:

It even appears when I start typing in the entity ID box.

Weirdly, the flow seems to run as I expect it to and the input_select is updated in Lovelace.

Should I ignore this?