Plejd and IKEA lights sync

I am trying to create a fail proof flow that works no matter the state of my Plejd or my IKEA lights. If I push the wall switch, the lights should turn off if they are on and vice versa. i.e. work as a regular wall switch.

I have this flow, I think it is too complicated and was wondering if there is an easier way of doing this seemingly simple task?

You are triggering when the office lights are turned off and then checking if they are off. When the trigger fires, the condition is always true. You can remove the condition in this case.

The reason I added the condition is because I have another flow that turns off all lights. I feel like the switch is inconsistent when I have executed the other flow.

This card does that