Action Button on the Custom: Slider Button Card (Not Working)

Hello!
First of all, im pretty noob with HA. This is like my 2nd week on this.
So I’m try to accompolish the folowing… a custom card with a slider. The left icon and the slider controls the bulb itself (It’s working). The power icon (custom button) “controlls” the smart outlet (Not working).
I know the integration works because I have a separate button and i’ve try on the SCRIPTS in the DEVELOPER TOOLS as well.
Is it this card? Is it incompatible with what im trying toi achive.
Thanks in advance