Espeasy via Mqqt problem with switches

Hi,
I’m begginer in OH. Previously I was using Domoticz.
After many attemtps I managed to create switch that control Sonoff with Espeasy. After first success I created second switch for my second Sonoff. Everything would by ok but if I use 1st switch first sonoff works correctly. If I use 2nd switch both sonoffs react.
Where I made mistake?

Without knowing how you did setup the topics and IDs we can’t say. Post them and you migth spot the problem yourself.

My settings.

Second Sonoff has the same setting, only different idx