Im very new to Home assistant and would appreciate some help

Welcome!

You make this your button’s action: shell_command.power_on_outlet1.

You might want to co sider this too: RESTful Command - Home Assistant.

Remember to format code that you post on the forum. See #11: How to help us help you - or How to ask a good question.