Hi j08rebelo,
You are describing what happens when you have 2 actions set to the same action. when the trigger happens, the last one that is activated internally wins.
If you do have some kind of a toggle set up then this is getting bounce triggers.
You could look at my Blueprint if the second is the case, I have code to remove most bounces.
GitHub - SirGoodenough/HA_Blueprints: 🧯 My Collection of Automation and Script Blueprints for Home Assistant 🧯.