Send On Command

I have been experiencing some issues with an automation process.

I have a smartapp to control lights, and generally speaking works fine. However, sometimes the lights does not react to the presence/motion/contact sensor command. The odd thing is that if you browse in the mobile app the send on/off command to the switch appears, but the actual operation of on/off doesnot ocurrs. I have noticed that when the process is successfull, addtional to the send on/off command, there is a Room Light Switch is on/off. Obviously when not working the second statement does not appear.

I’m leaning towards a problem with the switch (AEON Switch 6). Please note, when changing the on/off from the mobile app, I have never faced an issue.

Thanks!