Automation hekp

Tags: #<Tag:0x00007f32672f28a8> #<Tag:0x00007f32672f2650>

Guys need help as I’m not sure how to make this automation.

This is for my gaming pc room. I want my main light to come on with a motion sensor and turn off when no motion is detected. But if a button is pressed, change the main light to my led strips and have that stay on when motion detected and turn off if no motion. Is this possible? If so how do I go about making this?