I've got automatic lights on the outside of the house, in the vestibule, and in the garage.
I just bought the cheapest smart home lightbulbs the local hardware store had on offer. Made a second wireless network that only gets Internet access, anything connected there is forbidden from accessing anything else on the network (same network my robot vacuums and lawnmowers are on). Did the app thing to connect the lights to the net and my account. Configured them to trigger off sunrise/sunset and a pair of motion sensors, and that was that, it's just worked ever since. No idea if the motion sensors use bluetooth to trigger the lights or if the signal goes over the internet, but it makes no difference to me because it just works. And because it's a cheap Chinese system from a generic brand, the servers have stayed up because I'm not stuck hoping some smarthome startup doesn't go bankrupt and shut the servers down, the Chinese system is funded by everything from e-scooters to hammers, nor am I at risk of a firmware update bricking my system, because there aren't any updates. No idea how many botnets my garage light is part of by now, as long as it keeps working as a light I couldn't care less.