This is how I did mine. It works great. I can control via the app, echo, and the wall switch.
I think I did a really detailed write up but I can’t find it.