Sync problem lights in emulator not turning off

Hi
I am having sync problems when turning off lights with home assistant and node red they remain active in the hue app but they are off in reality.
What to do?

You need to provide lot of details here because for example we cannot know what types of lights are you using.

It seems to be working now when I turn off the lights with the hue emulator from node red instead of from the original hue bridge or home assistant, I have a hue bridge and deconz connected to the hue emulator app.