Problem with groups from Hue

I have some Hue bulbs that are in a group called Living Room (the bulbs are LR 1 and LR2). I’ve got an automation that turns the lights on at sunset using light.living_room. The automation works, but I keep seeing this error in the logs: “Unable to find referenced entities light.living_room”. I’m not sure what’s causing this error. I can check in the developer tools, see light.living_room exists and is a group from Hue.

Does anyone know what’s causing this?