Can't get advanced flow to work with sockets

I have the above flow in which I try to automate the shutdown of every single socket in my room after both conditions are met and a boolean variable is set to True. One, my computer is off (power consumption below 10W) and the other one, my work laptot socket is off (which is also automated). Thing is I think the ALL step is waiting for both to happen at the same time, but that will never happen.

How could I make this work? I want to completely shutdown if both conditions are met, but not at the same time.

Trigger on both events and then test both conditions. So in above flow, remove the ALL and add another logic card for the other condition.

That’s what I’m gonna need to do… Whenever the flow is trying to, for example switch off a socket when it’s already off. Does it go to the error part of the card or to the success?

If the flow can successfully trigger the ‘off’ function, the card will be considered a success, regardless of the device’s previous state. An error will occur only if the device does not respond or if there is an issue with the function.