Device not changing state from driver page

This was the solution!!

Now I can do what I tried to do!! Thanks a million times!!

What do you mean which switch? the driver or the physical relay that i have?
The relay I use is Schneider connect relay.

I think you didn't get what I wanted to do, or I was lost in translation. Sorry for that.