Hi. I’ve never used a Button, so this is a total guess…
Don’t you need an Automation and Trigger to capture the button.press event and initiate the relevant script(s)?
See Button - Home Assistant
A Button is not a Switch, if I understand the Docs correctly…
But I may well be completely off the path there… If so, sorry.