Switchbot for toilet lid

I need a switchbot to close the toilet lid in my house after my husband uses it. Not actually joking. Any tips?