Bug: swapping outlets doesn't seem to work

I’ve made a rather simple scene that has been working for a long time.
But I noticed yesterday or the day before that the scene no longer does anything.
I added a message to see if it was triggering properly and I confirm that it is triggering.
I then replaced inverted with controlling a device and set the outlet to on and now it works.

I think the inverted action must have a bug somewhere but I have no info in the logs.

Has anyone had this kind of problem?

Thanks in advance for helping me debug ^^

Hi everyone!

This topic is now in development.

A PR has been opened to fix the inversion of the outlets that no longer followed the actual state of the device:

Feel free to follow the PR, test (optional, especially for small requests) and provide your feedback here if needed.