Thank you for the replies. I will pass on the home assistant for now, I figured it out through the Macrodroid application eventually. If anyone is interested, see my setup below.
Explanation:
I setup my phone so it doesn't require any passcode/biometrics when I am at home through the "Extend...