Don't take this the wrong way... but I control my lights with mechanical switches that are installed to walls of my home. They don't need logins to any cloud services, in fact they don't even have internet.
They just work.
They just work.
Another popular solution is to place a lamp near the bed, such that the light controlled by the wall switch can be turned off before entering the bed and the lamp nearer the bed can be turned off while in bed.
otherwise we have bigger problems.
Beautiful.