FYI: I’ve been having that same kind of issue lately. In my case it was because the Hue Hub wasn’t getting status back from the lights, but the lights themselves were still responding to commands.
Unless you set allow_unreachable (https://home-assistant.io/components/light.hue/) HA seems to take the the unreachable status as a hard error and you can’t toggle them on or off.
If you’re having this issue, give that setting a try and see if it helps!