Bug scene execute

Hey team.
We have a major bug related to the scene. The steps to reproduce it are:

  1. We have a switch (more than 1 gang) (using zigbee2mqtt).
  2. Set up a scene with a device state trigger: when switch 1 is turned on, the action is to turn on switch 2.
  3. Turn off switch 2
  4. Turn off switch 1. Sometimes, the server freezes and can no longer reconnect.

Hey @vule :slightly_smiling_face:

Are you sure you’re not creating an infinite loop where Scene 1 triggers Scene 2, which then triggers Scene 1 again, causing an endless execution cycle?