Strange behavior advanced flow

Had an Advanced Flow that worked fine for over a year, but suddenly it triggered a fight between the flow itself and the Hue app. If I turned on the light, the Hue app turned it off again or the other way around.

After removing the connection between the button and the first AND card, saving the flow and then inserting the connection again it was fixed. So it seems the Advanced Flow got corrupted.

No clue wat caused this. Anyone?

The app received a signal that the light was turned on due to an external reason. So check if you don’t have any automations (or scenes, etc) outside of Homey that could be causing this behaviour.

Thanks Robert, but that doesn’t explain this:

The problem is completely gone after this small alteration. So that’s why I think the A.F. got corrupted somehow.

Ah right I missed that part. Very strange indeed.

For future use:
Possibly comparing the JSON exports of both the corrupted flow and the fixed flow shows the difference. Long shot though.

It could also be an indication of eMMC storage starting to wear.

Thanks Peter, next time it happens I’ll do that. BTW I did swap out the raspberry compute module a couple of months ago, so the eMCC storage should be relatively fresh.