Why turns device itself off?

The Styrbar (in default configuration) sends commands to a fixed Zigbee group, and the Aqara switch (in default configuration) happens to listen to that same group. So at least one of the two devices has to be thrown out of that group, which unfortunately is not possible with Homey.

Source: